Method and system for processing positioning signals based on predetermined message data segment

ABSTRACT

A method and system for determining a geolocation of an object includes collecting a positioning signal including a predetermined message data segment. A time of arrival of the predetermined message data segment may be determined in the positioning signal. Information based on the time of arrival may be provided for determination of a geolocation of an object. The time of arrival of the predetermined message data segment may be determined based on a time search for the predetermined message data segment in the positioning signal.

RELATED APPLICATIONS

This application is a continuation-in-part and claims the benefit of U.S. patent application Ser. No. 09/908,011, entitled “METHOD AND SYSTEM FOR PROCESSING POSITIONING SIGNALS IN A STAND-ALONE MODE”, filed Jul. 18, 2001, now U.S. Pat. No. 6,628,234, and also claims the benefit of U.S. Provisional Patent Application No. 60/383,353 filed May 24, 2002, entitled “PROCESSING WEAK SIGNALS FOR PSEUDORANGE WITHOUT MESSAGE ASSISTANCE AND WEAK SIGNAL GPS SATELLITE MESSAGE DECODING.”

TECHNICAL FIELD OF THE INVENTION

This invention relates generally to the field of geolocation and more particularly to a method and system for processing positioning signals based on a predetermined message data segment.

BACKGROUND OF THE INVENTION

In the application of global positioning system (GPS) technology to the geolocation of wireless devices, a typical geolocation function utilizes a course acquisition (C/A) code, or Gold code, which is received repeatedly from GPS satellites, in order to determine position. In addition to the repeated Gold code sequence, the Gold code comprises satellite message data that is modulated on top of the Gold code signal by inverting the phase according to the message data.

The spectral density level of a signal from a GPS satellite received at a conventional GPS receiver with a direct line-of-sight to the satellite is significantly less than the thermal noise level of the conventional GPS receiver. When satellite signals are received at wireless devices being operated with obstructed views of the sky and thus obstructed line-of-sight, the satellite signals are weakened even further. Consequently, the obstructed signal levels from satellites are generally well below the threshold at which receivers may receive reliable message data signals from the satellites.

Recent solutions to the problem of receiving weakened positioning signals provide for partitioning the geolocation processing functions such that some of these functions are performed at the unknown location which is to be determined and other functions are performed at a location with an unobstructed view of the signal source.

For example, one of these methods, using a satellite signal source, provides for measuring all the satellite signal parameters, including the Doppler shift for each satellite signal, at unobstructed receivers located near the unknown location. The unobstructed receivers then send pertinent data to the unknown location to allow pseudorange estimation to be completed at the unknown location.

Disadvantages associated with this example include a relatively expensive requirement of integration of the network of such receivers with the wireless carrier network that provides a link between the unknown location and the unobstructed receivers. In addition, this solution restricts the joint operation of the unknown location and the unobstructed receivers in performing the geolocation processing functions to only those carrier networks that are so integrated.

SUMMARY OF THE INVENTION

The present invention provides a method and system for processing positioning signals based on a predetermined message data segment. A positioning signal is any signal that may be used, either alone or in conjunction with other signals, for the purpose of determining the location of an object. A positioning signal is an identification code that is unique to and/or uniquely identifies the transmitter and that is repeated by the transmitter. In one embodiment, the positioning signal may have a fixed transmission time duration or epoch duration.

A predetermined message data segment is any combination of known bits contained within the carrier signal. Bits are known when the value, modulation, sign or other characteristic of the bit, or the manner by which the modulation, sign or characteristic is changed, is constant, may be predicted and/or may be otherwise determined based on a known calculation or logic, before the signal sample that is comprised of such bits is stacked during processing or without decoding the signal. The known bits may be or may not be contiguous. The predetermined message data segment may have one or more message data bit sequences each having one or more contiguous known bits. In one embodiment the known bits may be contained in the carrier signal by a biphase modulation. It is understood that the positioning signals may be transmitted by any suitable types of fixed or mobile transmitters, including satellite transmitters such as the global positioning system (GPS) satellites, or terrestrial transmitters.

This invention may substantially eliminate or reduce disadvantages and problems associated with previous systems and methods. In a particular embodiment, the time to estimate a pseudorange from received positioning signals is reduced, while the processing gain is increased to facilitate rapid detection of positioning signals while limiting the consumption of energy.

In accordance with one embodiment of the present invention, a method for processing positioning signals in a ranging receiver in a stand-alone mode is provided. In this and other embodiments, the method may determine a geolocation of an object by collecting a positioning signal including a predefined message data segment. A time of arrival of the predefined message data bit segment may be determined in the positioning signal. Information based on the time of arrival may be provided for determining the geolocation of the object.

In another embodiment, a plurality of positioning signals each including a predefined message data segment may be collected. The time of arrival of the predetermined message data setment in each of the positioning signals may be determined. A time difference of arrival may be determined based on the times of arrival. In this embodiment, information based on the time difference of arrival may be provided for determination of the geolocation of the object.

In a particular embodiment, the method may include collecting samples from positioning signals received at the ranging receiver from a plurality of satellites. The samples comprise message data modulation. The method selects a predetermined segment of the message data to be identified in the samples to be collected, and creates a replica of that predetermined segment. The identification code for each satellite comprises a Gold code which repeats every epoch of one millisecond. However, it is understood that any other suitable identification code may be, used without departing from the scope of the present invention. A pre-determined carrier frequency offset (CFO) is selected from a plurality of directly extracted CFOs or from CFOs determined by geometric methods or by other means. The samples, or replicas of the Gold codes for the satellites, are compensated for the selected CFO. A section of the samples is selected that is equal in length to the predetermined segment. The message data modulation is modified in the selected section of the samples corresponding to the sequence of the biphase modulation of the predetermined segment. The samples are stacked for each satellite. The Gold code associated with each satellite is correlated to generate a time sequence for the satellite. A determination is made regarding whether an adequate correlation peak exists in each pseudorange time sequence. The method is repeated with different sections of the samples, and may be repeated with different CFOs and Gold codes in order to identify correlation peaks. A pseudorange, range or time-of-arrival are determined for the ranging receiver based on the correlation peaks when an adequate correlation peak exists in each time sequence. The samples may, in one embodiment, be pseudorange samples.

Technical advantages of one or more embodiments of the present invention may include providing an improved method for processing positioning signals in a stand-alone mode. In particular, the time required to obtain pseudorange estimates from weakened positioning signals is reduced and the processing gain available in any sample segment used to obtain pseudorange information is increased. In addition, by using a direct extraction method to quickly determine a CFO, resolving the identity of satellites whose signals are being received, and compensating the received signal by the amount of the CFO, the pseudorange, range or time-of-arrival estimation may be accomplished without performing a time-consuming search through the Doppler frequencies and satellite codes.

Other technical advantages of one or more embodiments of the present invention include a geolocation processor that may supply, to a receiver, current fragments of message data that were transmitted during the time the receiver was collecting signal samples. This is possible because the geolocation processor and the receiver are able to exchange time-of-day synchronizing information. As a result, the modulation for the message data may be removed from the samples being processed by the receiver. Accordingly, the available processing gain that can be achieved from a signal averaging process may be increased.

Due to the improvement in processing gain, technical advantages of one or more embodiments of the present invention may also include an ability either to obtain greater sensitivity in a given amount of signal processing time or to significantly reduce the amount of processing time to reach a particular level of sensitivity. In this regard, a dynamic process may be used that acquires and processes only the amount of signal necessary to achieve reliable detection. This reduces both the processing time and the amount of intermediate-result memory storage required during signal processing.

Yet another technical advantage of one or more embodiments of the present invention may include the removal of a requirement to integrate a geolocation processing system with the wireless carrier network that provides a communication link between the ranging receiver and an assisting function. Thus, the need for, and the costs associated with, a wireless carrier or plain old telephone system network may be eliminated. For example, support from a carrier's network may not be required to determine a coarse position estimation. In addition, a support network of nearby reference receivers, or its equivalent, would not be required to provide Doppler-shift compensation or Doppler-shift search assistance. An end-to-end frequency-calibration embodiment in the wireless communication link between the receiver and the geolocation processor to allow making use of the Doppler-shift would also not be required.

Yet another technical advantage of one or more embodiments of the present invention may include the ability to determine the time-of-arrival (TOA) at the ranging receiver of specific segments of the message data having precisely known transmission times from the satellite. The TOA corresponds to the propagation time of the signal from the satellite and the range between the satellite and the ranging receiver. The range of the satellite may be represented by the measurement of the propagation time (or “delay”) of the GPS signal from the satellite to the receiver and comprises: (a) a whole number of milliseconds (epochs); plus (b) a fraction of an epoch (referred to as the pseudorange value), which is typically determined to a precision of about 100 nanoseconds or less (equivalent to a location precision of about 100 feet or less). Conventional GPS receivers only measure the pseudorange portion of the total range delay. They provide no estimate of the number of whole milliseconds of the propagation time, for each satellite, that precedes the final “pseudorange” fraction. This is referred to as “whole number ambiguity” and the navigation algorithms in conventional GPS receivers must resolve the ambiguity by a process of intelligent guesswork that eliminates those combinations of potential whole number values for the in-view satellites that fail to produce a “logical” geolocation solution (i.e. one that is located at, or very close to, the surface of the planet). By using the surface of the earth as a reference surface, the geolocation is determined. However, when there is no fixed reference surface available, the conventional GPS receiver cannot determine a location, and therefore cannot be used to determine a location in open space. The TOA measurement in the present invention contains an error equal to the error in the clock of the ranging receiver. However, when the difference between such values, known as the time difference of arrival (TDOA), is determined for any pair of satellites, this error is precisely and completely eliminated. In the present invention, the TDOA values may be used, along with conventional TDOA techniques and algorithms to determine the geolocation of the ranging receiver without “whole number ambiguity” phenomena that may be encountered when using pseudorange values in conventional GPS processing methods.

Yet another technical advantage of one or more embodiments of the present invention includes the absence of the necessity to precisely synchronize the clock of the ranging receiver with the satellites clocks.

Yet another technical advantage of one or more embodiments of the present invention may include the ability to recalibrate the ranging receiver clock and synchronize it with GPS time.

Yet another technical advantage of one or more embodiments of the present invention may include the ability to utilize information obtained, when a correlation peak is obtained for the first satellite, to reduce the processing required to determine the correlation peaks for other in-view satellites, thereby decreasing the amount of time for a location estimate.

In addition, technical advantages of one or more embodiments of the present invention may include reduced memory use, power consumption and network loading, increased sensitivity, decreased amount of time for a location estimate, and greater privacy for customers.

It will be understood that some embodiments of the present invention may contain all, none or some of the above and elsewhere discussed advantages. In addition, other technical advantages of the present invention may be readily apparent from the following figures, description, and claims.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present invention and its advantages, reference is now made to the following description taken in conjunction with the accompanying drawings, wherein like reference numerals represent like parts, in which:

FIG. 1 is a block diagram illustrating a geolocation system operable to process positioning signals in accordance with one embodiment of the present invention;

FIG. 2 is a block diagram illustrating the ranging receiver of FIG. 1 in accordance with one embodiment of the present invention;

FIG. 3 is a block diagram illustrating the ranging receiver of FIG. 1 in accordance with another embodiment of the present invention;

FIG. 4 is a flow diagram illustrating a method for obtaining a calibration location estimate for the ranging receiver of FIGS. 1, 2 or 3 in accordance with one embodiment of the present invention;

FIG. 5 is a flow diagram illustrating a method for obtaining a location estimate based on a non-initial trigger for the ranging receiver of FIGS. 1, 2 or 3 in accordance with one embodiment of the present invention;

FIGS. 6A and 6B are flow diagrams illustrating a direct extraction method for determining carrier frequency offset in the methods of FIGS. 4 and 5 in accordance with one embodiment of the present invention;

FIG. 7 is a flow diagram illustrating a method for determining pseudorange in the ranging receiver of FIGS. 1, 2 or 3 in a stand-alone mode in accordance with one embodiment of the present invention;

FIGS. 8A and 8B are flow diagrams illustrating a method for aligning message data to determine a pseudorange in the ranging receiver of FIGS. 1, 2 or 3 in a stand-alone mode in accordance with one embodiment of the present invention;

FIGS. 9A and 9B are block diagrams illustrating a system for generating sub-stacks and stacks to determine coarse satellite message data alignment in the system of FIG. 1 in accordance with one embodiment of the present invention;

FIG. 10 is a block diagram illustrating a system for refining satellite message data alignment in the system of FIG. 1 in accordance with one embodiment of the present invention;

FIG. 11 is a flow diagram illustrating a method for aligning message data in the ranging receiver of FIGS. 1, 2 or 3 in accordance with one embodiment of the present invention;

FIG. 12 is a flow diagram illustrating a method for predicting satellite message data received in positioning signals at the ranging receiver of FIGS. 1, 2 or 3 in accordance with one embodiment of the present invention;

FIGS. 13A, 13B and 13C are flow diagrams illustrating a method for determining a pseudorange in the ranging receiver of FIGS. 1, 2 or 3 in a geometric mode in accordance with one embodiment of the present invention;

FIG. 14 is a flow diagram illustrating a method for determining geolocation in the ranging receiver of FIGS. 1, 2 or 3 with matching assistance in accordance with one embodiment of the present invention;

FIG. 15 is a flow diagram illustrating a method for determining geolocation in the geolocation processor of FIG. 1 by providing matching assistance in accordance with one embodiment of the present invention; and

FIGS. 16A-B are a flow diagram illustrating a method for determining geolocation in the ranging receiver of FIGS. 1, 2 or 3 by aligning predetermined message data bit sequences with corresponding segments of the received signal in order to determine pseudorange, range or time-of arrival in the ranging receiver, in accordance with one embodiment of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

FIG. 1 is a block diagram illustrating a remote geolocation system 10 in accordance with one embodiment of the present invention. The system 10 may comprise a global positioning system (GPS), a global navigation satellite system (GLONASS), or other suitable navigation system.

The system 10 comprises a plurality of positioning signal transmitters 12 and at least one ranging receiver 14. The positioning signal transmitters 12 are operable to transmit positioning signals, and each ranging receiver 14 is operable to receive the positioning signals and to perform geolocation processing functions in order to determine a pseudorange estimate for the ranging receiver 14 based on the received signals. As used herein, “each” means every one of at least a subset of the identified items. In the illustrated embodiment, the positioning signal transmitters 12 comprise satellites 12. Thus, as used herein, “satellites” means conventional satellites, pseudolites, or other suitable positioning signal transmitters.

As described in more detail below, a location estimate, or geolocation, may be determined for the ranging receiver 14 based in part on the pseudorange estimate. According to one embodiment, a location estimate provides a location for the ranging receiver 14 that is accurate to within 10 to 50 meters or other suitable distance.

A location estimate may be determined when the ranging receiver 14 is receiving weakened positioning signals, such as signals weakened by obstructions. Weakened positioning signals comprise signals that are received from the satellites 12 at levels that result in insufficient information being received by the ranging receiver 14, in the absence of other satellite signals or other sources of information, to determine a location estimate but sufficient information being received to estimate a pseudorange for the ranging receiver 14. According to one embodiment, weakened positioning signals comprise signals compromised up to 16 dB below “clear view”, or unobstructed, signal levels. In an alternative embodiment, weakened positioning signals comprise signals compromised up to 30 dB below “clear view” signal levels.

The system 10 also comprises a wireless device 16 and a service center 18 which may be coupled to each other through a wireless carrier network 20 and the plain old telephone system (POTS) network 22. In addition, the system 10 comprises a geolocation processor 24, which may be coupled to the service center 18 either directly or indirectly, such as through a network or other suitable form of indirect communication and may be coupled through the service center 18 to the wireless device 16. Although the illustrated embodiment includes one service center 18 and one geolocation processor 24, it will be understood that the system 10 may comprise any suitable number of the components 18 and 24 without departing from the scope of the present invention and that functionality of the system 10 may be otherwise suitably distributed or combined. It will be further understood that a single geolocation processor 24 may be coupled to a plurality of service centers 18 without departing from the scope of the present invention.

The wireless device 16 may be coupled to the ranging receiver 14, which may comprise push buttons 30, or other suitable interfaces, for user operation such as to initiate a location estimating process for the ranging receiver 14. The wireless device 16 is operable to provide a communication link between the ranging receiver 14 and a service center 18 via the wireless carrier network 20 and the POTS network 22 and to provide a communication link between the ranging receiver 14 and a geolocation processor 24 via the service center 18.

The wireless device 16 may comprise a cellular telephone, a wireless Personal Digital Assistant, a two-way or response pager, a private or commercial vehicle tracking system, an “On-Star” type motorist service network, a private or commercial wireless data network (or a device in such a network), or any other suitable device capable of providing a data-link between the ranging receiver 14 and the geolocation processor 24.

The wireless device 16 may be coupled to the ranging receiver 14 in any suitable fashion. For example, the wireless device 16 and the ranging receiver 14 may be coupled together by a cable 32. Alternatively, the ranging receiver 14 may be located near the wireless device 16 and linked to the wireless device 16 by a low-powered short-range wireless link, such as those provided by the Blue-Tooth protocols. The ranging receiver 14 may also be coupled to the body of the wireless device 16 as a “stick-on” attachment, or the ranging receiver 14 may be built into a receptacle such that the wireless device 16 is in electrical contact with the ranging receiver 14 when the wireless device 16 is inserted into the receptacle.

In another alternative, the ranging receiver 14 may be integrated with the wireless device 16. For this embodiment, the wireless device 16 is operable to process communication at a minimum of two frequencies, one frequency for receiving signals to be processed by the wireless device 16 independently of the functionality of the ranging receiver 14, such as cellular signals for a wireless device 16 comprising a cellular telephone, and a second frequency for receiving positioning signals. The wireless device 16 is also operable to digitize samples at a rate corresponding to the rate at which the ranging receiver 14 may process samples in accordance with the present invention. For example, the wireless device 16 may be operable to digitize samples at a rate of at least 2.048 Megasamples/second at a quantizer resolution of a minimum of two bits. It will be understood that other suitable rates may be used, as described in more detail below in connection with FIG. 2. In addition, the wireless device 16 may include additional memory, as compared to a wireless device 16 not coupled to a ranging receiver 14, in order to store samples for processing during pseudorange estimation.

The service center 18 may comprise a Public Safety Access Point (PSAP), a Vehicle Dispatch Application, or other suitable entity capable of facilitating geolocation processing for the ranging receiver 14 by coupling the ranging receiver 14 to the geolocation processor 24. The service center 18 is also operable to manage the detection, routing and switching of voice traffic that may be associated with the geolocation determination process.

The service center 18 includes a rack 45 of modems 40, a switch 42, and at least one telephone handset 44. Each modem 40 may include a Location Services Protocol modem or other suitable modem and is operable to provide a communication link between the service center 18 and the ranging receiver 14 associated with the wireless device 16 through the POTS network 22 and the wireless carrier network 20. The modem 40, or other communication link such as an Ethernet, may also provide a link between the service center 18 and the geolocation processor 24. Each modem 40 is also operable to route voice communication to the switch 42 and data communication to the geolocation processor 24. The switch 42 is operable to route voice communication from a modem 40 to a telephone handset 44 and from a telephone handset 44 to a modem 40. The telephone handset 44 allows an operator at the service center 18 to interact with a user of the wireless device 16 through voice communication provided through a modem 40.

The geolocation processor 24 is operable to identify the satellites 12 by matching the differences between pairs of carrier frequency offsets measured at the ranging receiver 14 with the differences between pairs of Doppler shift estimates made of satellites in view at particular locations on the Earth's surface, to accurately calibrate a real-time clock in the ranging receiver 14, to track satellite message data from the satellites 12 and bit transition times in the satellite message data, to provide fragments of the satellite message data from the identified satellites 12 to the ranging receiver 14, to convert a pseudorange estimate from the ranging receiver 14 into a geolocation of the ranging receiver 14, and to provide the geolocation to a requester such as the ranging receiver 14 or PSAP operator.

However, it will be understood that the ranging receiver 14 may alternatively perform operations that are operable by the geolocation processor 24 without departing from the scope of the present invention.

The geolocation processor 24 comprises a workstation 46 and a receiver 48. The workstation 46 is operable to perform geolocation processing functions. The workstation 46 is also operable to obtain current ephemeris, time, and other suitable satellite message data from the receiver 48. Ephemeris data may comprise trajectory data received from one or more satellites 12 that allows positions of satellites in the satellite constellation to be predicted. The receiver 48 may comprise a GPS receiver or other suitable receiver operable to receive positioning signals from the satellites 12.

The wireless carrier network 20 may be operable to coordinate location management, authentication, service management, subscriber management, and any other suitable functions for a plurality of wireless devices 16. The wireless network 20 may comprise a public land mobile network or other suitable network operable to provide communication between the wireless devices 16 and the POTS network 22.

The POTS network 22 may be coupled to the wireless carrier network 20 and to the service center 18 through communication links 50. The communication links 50 may be any type of communication link capable of supporting data transfer. In one embodiment, each of the communication links 50 may comprise, alone or in combination, Integrated Services Digital Network, Asymmetric Digital Subscriber Line, T1 or T3 communication lines, hard-wire lines, telephone lines or wireless communication. It will be understood that the communication links 50 may comprise other suitable types of data communication links. The communication links 50 may also connect to a plurality of intermediate servers between the POTS network 22 and both the wireless carrier network 20 and the service center 18.

The system 10 may also comprise one or more remote receivers 60, service requesters 62 and/or application servers 64 which may be coupled to the geolocation processor 24 through a data network 66. The remote receiver 60 may comprise a GPS receiver or other suitable receiver operable to receive positioning signals from the satellites 12. Data derived from these positioning signals may then be provided to the geolocation processor 24 through the data network 66. According to one embodiment, the system 10 comprises three remote receivers 60 spaced around the Earth such that, at any given time, the three remote receivers 60 may receive ephemeris data from each satellite in the constellation.

The service requester 62 may comprise a location information requester that is operable to generate a request for a location estimate for a particular ranging receiver 14 and to provide the request to the application server 64 through the data network 66. The application server 64 may comprise a location-based server or other suitable server that is operable to receive the request generated by the service requester 62 and to process the request.

In processing the request, the application server 64 is operable to provide the request to the geolocation processor 24 through the data network 66, prompting the geolocation processor 24 to initiate a location estimating process for the ranging receiver 14 identified by the service requester 62 in the request. In addition, the application server 64 is operable to receive a resulting location estimate from the geolocation processor 24 through the data network 66 and to provide the location estimate to the service requester 62 through the data network 66.

The data network 66 may comprise a public switched telephone network, an integrated services digital network, a local area network, a wide area network, a global computer network, such as the Internet or other dedicated switched network, or other communication system or combination of communication systems at one or more locations. According to one embodiment, any of the networks 20, 22 and 66 may share a same physical implementation with one or both of the other networks 20, 22 and 66.

Because the Doppler frequency shifts are continuously changing due to the movement of the Earth and of the satellites 12, the workstation 46 may be operable to regularly re-compute the pattern of Doppler frequency shifts of satellites 12 based on the changing satellite positions for use in satellite identification by Doppler frequency shift differences, as described in more detail below. The workstation 46 is also operable to track the satellite message data modulated on top of the Gold code ranging signal transmitted by each of the satellites 12 and to track the transition times of the satellite message data bit boundaries.

The satellites 12 comprise satellites of a navigational satellite constellation that are in view of the ranging receiver 14 and/or other receivers 48 and 60 at a particular time and that are operable to transmit positioning signals, such as navigation and ranging signals. It will be understood that the in-view satellites 12 of the satellite constellation continually change due to orbital movement of the satellites and rotational movement of the Earth. According to one embodiment, the system 10 comprises at least four satellites 12 at any particular time.

The ranging receiver 14, the service center 18, and the geolocation processor 24 may comprise logic encoded in media. The logic comprises functional instructions for carrying out program tasks. The media comprises computer disks or other computer-readable media, application-specific integrated circuits, field-programmable gate arrays, digital signal processors, other suitable specific or general-purpose processors, transmission media or other suitable media in which logic may be encoded and utilized.

In operation for a particular embodiment, the service center 18 provides data communication between the ranging receiver 14 and the geolocation processor 24 to allow the ranging receiver 14 to generate a pseudorange estimate and the geolocation processor 24 to generate a geolocation. In addition, the service center 18 provides voice communication between a user of the wireless device 16 and an operator at the service center 18. The service center 18 may manage emergency services, vehicle-dispatching services, or other suitable services which utilize geolocation processing to locate wireless devices 16. An operator at the service center 18 monitors and manages emergency calls, communications with vehicles via wireless devices 16, or other suitable communications.

The receiver 48 receives positioning signals from the satellites 12 and processes these signals. The workstation 46 determines the location of a wireless device 16 based on the signals received at the receiver 48 and based on information exchanged with the ranging receiver 14 via the wireless device 16 and the service center 18.

The telephone handset 44 allows an operator at service center 18 to call the wireless device 16 or to respond to an incoming call from the wireless device 16. Calls to the wireless device 16 may also be initiated by the workstation 46 via a modem 40. Each modem 40 provides data exchange capability with the ranging receiver 14 via the wireless device 16 over the same voice channel used by a caller to speak to the operator at the service center 18. According to one embodiment, each modem 40 also provides time-exchange facility with the ranging receiver 14 over the voice channel.

The process may begin by an exchange of time signals between the ranging receiver 14 and the geolocation processor 24 to establish a real time at the ranging receiver 14. This time is used to coordinate the use of further time-critical information to be exchanged between the ranging receiver 14 and the geolocation processor 24. While this time exchange is taking place between the ranging receiver 14 and the geolocation processor 24, the ranging receiver 14 may begin collecting and decimating satellite signal samples received from the satellites 12 for a carrier frequency estimating process. It will be understood that, in accordance with one embodiment of the present invention, the ranging receiver 14 may be operable to determine real time for geolocation processing from the positioning signals without exchanging time signals with the geolocation processor 24.

A direct method for quickly estimating the received carrier frequency for each of the satellites 12, including those of which the ranging receiver 14 has an obstructed view, may be used. According to one embodiment, this method uses signal squaring to remove the biphase modulation and uses narrow-band filtering to reduce the noise. In one embodiment, at least two bits per signal sample and a final stage of down-conversion to near baseband by a heterodyne step are used.

The received carrier frequency estimates include the down-conversion frequency uncertainty due to local oscillator manufacturing tolerances, thermal drift and/or other conditions, thereby providing a substantially exact frequency that may be applied to compensate for the Doppler frequency shift and these other errors, even over the long periods of signal averaging needed to reach the required sensitivity for successful signal detection.

In one embodiment of the invention, this direct determination of the received carrier frequencies to high resolution (within about one Hz for a one second sampling of the signals received from the satellites 12) allows the identity of satellites 12 contributing the specific pattern of Doppler-frequency differences, which are equal to the carrier frequency offset (CFO) differences, to be determined by a pattern match between the Doppler differences computed for the current positions of the satellites in the constellation and target matching patches on the surface of the Earth. This may be accomplished by sending the CFO results to the geolocation processor 24 as soon as they are determined by the ranging receiver 14, along with the time corresponding to the beginning of the collection of the signal samples from which the CFOs were determined. The ranging receiver 14 then continues collecting and storing samples of the signal that are suitable for estimating pseudorange.

While the signal samples for pseudorange estimation are being collected, the geolocation processor 24 identifies the satellites 12 that are in view at the unknown location and, for each of these satellites 12, extracts that portion of the satellite message data that is being transmitted during sample collection. The geolocation processor 24 may also identify the actual Doppler-shift frequency to be used in the time-dilation correction, as described in FIG. 13C. Time-dilation is proportional to the total accumulated Doppler frequency shift. The geolocation processor 24 then transmits to the ranging receiver 14 a satellite ID for each identified satellite 12 to enable rapid computation of pseudorange without searching through Doppler frequencies and satellite codes and transmits the satellite message data fragment to enable removal of the data modulation from the signals so that linear summation may be performed for increased processing gain.

Also while the ranging receiver 14 is collecting signal samples for pseudorange estimation, the ranging receiver 14 begins processing the signals for the pseudorange content.

FIG. 2 is a block diagram illustrating the ranging receiver 14 in accordance with one embodiment of the present invention. The ranging receiver 14 is a mobile device that may be easily transported from one location to another. In the illustrated embodiment, the ranging receiver 14 is coupled to a wireless device 16 that comprises a digital cellular telephone. However, as described in more detail above in connection with FIG. 1, the wireless device 16 may comprise any suitable device capable of wireless communication.

The ranging receiver 14 comprises an antenna 202 that is capable of receiving positioning signals. According to one embodiment, the antenna 202 comprises a GPS antenna that is capable of receiving GPS signals. For this embodiment, the antenna 202 may comprise a circularly polarized ceramic patch antenna or other suitable antenna. The antenna 202 is coupled to a filter and low-noise amplifier 204.

In one embodiment, the filter and low-noise amplifier 204 is operable to limit bandwidth to approximately 2 MHz (centered at 1575.42 MHz). Alternatively, the filter and low-noise amplifier 204 may be operable to limit bandwidth to approximately 1 MHz or to another suitable bandwidth less than 2 MHz. In this way, the signal-to-noise ratio may be improved as compared to a signal with a bandwidth of approximately 2 MHz. For example, for the embodiment in which the bandwidth is limited to approximately 1 MHz, a gain of about 3 dB made be obtained with a loss of about 50% of the noise and only about 10% of the signal.

The filter and low-noise amplifier 204 is coupled to a down-converter 206. The down-converter 206 is operable to down-convert the signal to baseband. According to one embodiment, the down-converter is operable to down-convert the signal using multiple stages of amplification, filtering and super-heterodyning. The down-converter 206 may comprise a radio frequency/intermediate frequency (RF/IF) down-converter or other suitable down-converter.

An automatic gain control 208 is coupled to the down-converter 206 and to an amplifier 210. The automatic gain control 208 controls the stages of amplification for the down-converter 206. The amplifier 210, which is also coupled to the down-converter 206, amplifies the signal from the down-converter 206 based on a control signal from the automatic gain control 208.

An analog-to-digital converter 212 is coupled to the amplifier 210 and to the automatic gain control 208. The analog-to-digital converter 212 comprises a symmetrical multi-bit quantizer that is operable to digitize analog signals from the down-converter 206. The analog-to-digital converter 212 is symmetrical in order to reduce the generation of unnecessary harmonic products that may cause alias products in the band of the desired signal.

For example, the analog-to-digital converter 212 may digitize the signals at a minimum of 2.048 Megasamples/second and at a quantizer resolution of a minimum of two bits. Alternatively, the analog-to-digital converter 212 may digitize the signals at a minimum of 4.096 or 8.192 Megasamples/second, in order to improve pseudorange timing resolution, and then further into four or more bits, in-phase and quadrature-phase (I/Q) samples, in order to improve both frequency and amplitude resolution and to reduce the generation of harmonic products due to the inherent non-linearity of the quantizing process.

Symmetry may be ensured by biasing the quantizer levels such that zero crossing takes place in the center of the first quantizer level, allowing equal statistical representation of the signal in the positive and negative segments. This is especially useful for small numbers of bits of resolution.

An output of the analog-to-digital converter 212 controls the automatic gain control 208, which feeds back to the amplifier 210 and the down-converter 206 as described above. This may be used to ensure that, on average, the quantized signal reaches maximum quartile less than 30% of the time, which is consistent with the expected statistics of noise-like signals. However, it will be understood that this output of the analog-to-digital converter 212 may be used to ensure that the quantized signal reaches maximum quartile less than any suitable percentage of the time.

The ranging receiver 14 also comprises a local oscillator and timing generator 214 that is coupled to the down-converter 206 and to the analog-to-digital converter 212. The local oscillator and timing generator 214 may comprise a temperature-compensated crystal oscillator (TCXO), a digitally-compensated crystal oscillator (DCXO), or other suitable oscillator operable to drive a digital device. Various timing signals may be derived from the local oscillator and timing generator 214, such as frequencies for the various stages of down-conversion for the down-converter 206, the sampling clock for the analog-to-digital converter 212, and other suitable timing signals.

A signal sample memory 216 is coupled to the analog-to-digital converter 212. The signal sample memory 216 is operable to temporarily store digital signal samples from the analog-to-digital converter 212. For example, the signal sample memory 216 may comprise a random access memory (RAM) or other suitable data store.

The ranging receiver 14 also comprises a digital signal processor 218 that is coupled to the signal sample memory 216. The digital signal processor 218 comprises a processor operable to process stored instructions. For example, the digital signal processor 218 may comprise a Motorola DSP 56654 manufactured by MOTOROLA, INC. of Schaumburg, Ill., a Texas Instruments TMS 320VCSSIO manufactured by TEXAS INSTRUMENTS of Dallas, Tex., an ADSP 21161 SHARC DSP manufactured by ANALOG DEVICES of Norwood, Mass., or other suitable processor.

A receiver memory 220 is coupled to the digital signal processor 218. The receiver memory 220 is operable to store instructions and other data for the digital signal processor 218. The receiver memory 220 may comprise a plurality of program and working memories, which may comprise any suitable combination of read-only memories (ROMs), RAMs, and other suitable data stores. It will be understood that the receiver memory 220 may also comprise the signal sample memory 216.

A modem function 222 is coupled to the digital signal processor 218 and is operable to provide an interface through which communication may be provided between the digital signal processor 218 and the wireless device 16 and ultimately with a geolocation processor 24 through the wireless carrier network 20, the POTS network 22, and a service center 18.

Signal lines 224 and 226 couple the wireless device 16 to the modem function 222 and to the digital signal processor 218. According to the illustrated embodiment, the signal lines 224 and 226 are coupled to an external component 228 of the wireless device. It will be understood, however, that the signal lines 224 and 226 may be otherwise coupled to the wireless device 16 based on which embodiment of the ranging receiver 14 is implemented, as described above in connection with FIG. 1. For example, for the embodiment in which the ranging receiver 14 is an integral component of the wireless device 16, the signal lines 224 and 226 may comprise internal connections within the wireless device 16 which need not be coupled to an external component 228.

The ranging receiver 14 also comprises power management circuitry 230 that is coupled to the digital signal processor 218. The power management circuitry 230 may comprise one or more batteries or other suitable power sources. The power management circuitry 230 is operable to provide power to the ranging receiver 14 and to control the availability of power on the basis of control signals on the signal lines 224 and 226 from the wireless device 16 and/or other suitable control signals. The ranging receiver 14 also comprises a real-time clock 232 that is operable to be calibrated to a remote clock across a wireless link or based on satellite message data.

FIG. 3 is a block diagram illustrating the ranging receiver 14 in accordance with another embodiment of the present invention. In the illustrated embodiment, an integrated device 250 comprises the function of a ranging receiver 14 integrated with a wireless device 16 that comprises a digital cellular telephone. However, as described in more detail above in connection with FIG. 1, the wireless device 16 may comprise any suitable device capable of wireless communication.

The integrated device 250 comprises an antenna 252 that is capable of receiving positioning signals. According to one embodiment, the antenna 252 comprises a GPS antenna that is capable of receiving GPS signals from the satellites 12. For this embodiment, the antenna 252 may comprise a circularly polarized ceramic patch antenna or other suitable antenna. The integrated device 250 also comprises an antenna 254 that is operable to communicate with a base station 256. Thus, for the digital cellular telephone embodiment, the antenna 254 is capable of receiving and transmitting cellular communication signals.

The antenna 252 is coupled to a positioning signal (“PS”) preselect filter 260, and the antenna 254 is coupled to a cellular signal preselect filter 262. The output from each of the filters 260 and 262 is coupled to a signal selection switch 264.

The signal selection switch 264 is operable to select either the positioning signals or the cellular communication signals for processing by the integrated device 250. The output of the signal selection switch 264, which corresponds to the output of the filter 260 or 262 selected by the switch 264, is coupled to additional cell phone circuitry 266. The additional cell phone circuitry 266 is operable to process positioning signals as described above in connection with FIG. 2 and to process cellular communication signals in a manner similar to a standard wireless device 16 without an integrated ranging receiver 14.

FIG. 4 is a flow diagram illustrating a method for obtaining an initial calibration location estimate based on an initial trigger for the ranging receiver 14 in accordance with one embodiment of the present invention. The method begins at step 400 where the ranging receiver 14 detects an initial trigger.

A trigger may comprise a request generated by the wireless device 16 automatically, a request generated by a user of the wireless device 16 such as by pushing a button 30 on the ranging receiver 14, a request from an external source such as the Internet, a geolocation processor 24 or other suitable external source, or any other suitable trigger. The initial trigger detected in step 400 may comprise, for example, a trigger that is automatically generated in response to turning on the wireless device 16 that is coupled to the ranging receiver 14. In addition, as described in more detail below, the initial trigger may comprise a trigger that is automatically generated after a previous initial trigger was followed by an unsuccessful attempt to obtain a calibration location estimate.

At decisional step 402, a determination is made regarding the status of a superframe in the ranging receiver 14. According to one embodiment, the superframe comprises 25 frames, each of which further comprises five subframes. The superframe comprises 37,500 bits, which are transmitted from the satellites 12 at 50 bits per second. Each of the 25 frames comprises a 1500-bit message that includes timing, identification, and ephemeris data, along with portions of the constellation's almanac data and various telemetry, checksum, and counterwords for each satellite 12.

Changes in the message relating to updates to the ephemeris and almanac data occur at infrequent intervals, usually between four and 24 hours, and affect only a small portion of the message for each update. Therefore, if the superframe in the ranging receiver 14 is relatively current, the message in that superframe may be used by the ranging receiver 14.

If no superframe is present in the ranging receiver 14 or if the superframe is expired, the method follows the Expired branch from decisional step 402 to step 404. The superframe may be considered expired if the superframe is greater than 96 hours old. However, it will be understood that the superframe may be considered expired based on another suitable amount of time or other suitable criteria without departing from the scope of the present invention. At step 404, the ranging receiver 14 downloads the superframe from the satellites 12 or from the geolocation processor 24.

If the superframe in the ranging receiver 14 is not current, the method follows the Not Current branch from decisional step 402 to step 406. The superframe may be considered not current if the superframe is between 4 and 96 hours old. However, it will be understood that the superframe may be considered not current based on another suitable amount of time or other suitable criteria without departing from the scope of the present invention.

At step 406, the ranging receiver 14 downloads an update to the superframe from the satellites 12 or from the geolocation processor 24. Any data obtained from the geolocation processor 24 in steps 404 or 406 may be obtained over the voice channel using the modems 40 or via an alternate pathway using, for example, a control channel for the wireless carrier network 20 or other suitable data pathway.

Returning to decisional step 402, if the superframe in the ranging receiver 14 is current, the method follows the Current branch from decisional step 402 to decisional step 408. Also, after a superframe has been downloaded in step 404 or an update has been downloaded in step 406, the method continues to decisional step 408. The superframe may be considered current if the superframe is less than 4 hours old. However, it will be understood that the superframe may be considered current based on another suitable amount of time or other suitable criteria without departing from the scope of the present invention.

At decisional step 408, a determination is made regarding whether or not a fresh calibration location estimate is available. According to one embodiment, a fresh calibration location estimate comprises a location estimate that has been performed within the past ten minutes. However, it will be understood that a calibration location estimate may be considered fresh after any suitable period of time or based on other suitable criteria without departing from the scope of the present invention.

If no fresh calibration location estimate is available, the method follows the No branch from decisional step 408 to step 410. At step 410, the location circuitry of the ranging receiver 14 is turned on. Thus, for example, the power management circuitry 230 may provide full power to each of the components 204, 206, 208, 210, 212, 214, 216, 218, 220 and 222. At step 412, the ranging receiver 14 begins collecting samples for CFO extraction and attempts to perform CFO extraction based on the collected samples.

At decisional step 414, a determination is made regarding whether or not the CFO extraction was successful. If the CFO extraction was successful, the method follows the Yes branch from decisional step 414 to step 416. At step 416, the ranging receiver 14 enters a stand-alone mode for pseudorange estimation. At step 418, the ranging receiver 14 estimates pseudorange. According to one embodiment, the ranging receiver 14 estimates pseudorange in accordance with the method of FIGS. 7 and 8.

At decisional step 420, a determination is made regarding whether or not the real-time clock 232 has the current time. If the real-time clock 232 does not have the current time, the method follows the No branch from decisional step 420 to step 422.

At step 422, the real-time clock 232 for the ranging receiver 14 is calibrated, or synchronized, to a standardized time of day (TOD), such as GPS time, across the wireless link or to the TOD information received in the positioning signals. Once calibrated, the real-time clock 232 keeps track of real time so that the timing of events in the ranging receiver 14, such as message data bit transition times, can be accurately tracked. From step 422, the method continues to step 424.

Returning to decisional step 420, if the real-time clock 232 has the current time, the method follows the Yes branch from decisional step 420 to step 424. At step 424, the ranging receiver 14 performs a calibration location estimate.

At step 426, the ranging receiver 14 determines its receiver bias based on geometric and measured data. The geometric data may comprise satellite message data, approximate location data and/or other suitable data useful for estimating Doppler frequency shift. The approximate location data may comprise a previous location estimate, such as a calibration location estimate, or general location information provided by an external source, such as a cell site identification provided by a PSAP or an estimate provided by a user of the wireless device 16. According to one embodiment, the ranging receiver 14 determines its receiver bias by first determining the actual Doppler frequency shift for the satellite signals being processed based on the geometric data from each satellite 12. Based on the actual Doppler frequency shifts (estimated from the geometric data) and the measured CFOs, the ranging receiver 14 calculates the receiver frequency bias for the ranging receiver 14, which is stored for future use. At step 428, the ranging receiver 14 reverts to the low-power standby condition and waits for another trigger.

At step 430, the ranging receiver 14 sets a timer for a recalibration trigger. Thus, after a specified amount of time has passed (i.e., after the timer expires), a recalibration trigger will be generated in step 434 to prompt the ranging receiver 14 to perform another location estimate. The method then returns to step 430 where the timer is reset for another recalibration trigger. In this way, the location estimate may be automatically updated periodically.

According to one embodiment, the specified amount of time corresponding to the timer set in step 430 is approximately 10 minutes. However, it will be understood that the specified amount of time may be any suitable length of time without departing from the scope of the present invention. For example, according to one embodiment, the specified amount of time may vary based on comparing consecutive location estimates. Thus, for this embodiment, the specified amount of time may be reduced when consecutive location estimates indicate that the ranging receiver 14 is moving at greater than a certain velocity and may be increased when consecutive location estimates indicate that the ranging receiver 14 is moving at less than a certain velocity.

Returning to decisional step 414, if the CFO extraction was not successful, the method follows the No branch from decisional step 414 to step 440. At step 440, the ranging receiver 14 sets a timer for an initial trigger. Thus, after a specified amount of time has passed (i.e., after the timer expires), an initial trigger will be generated in step 442. The method then returns to step 400 where the ranging receiver 14 detects the initial trigger and the method begins again. In this way, the calibration location estimate may be re-attempted automatically at a later time. According to one embodiment, the specified amount of time is approximately 10 minutes. However, it will be understood that the specified amount of time may be any suitable length of time without departing from the scope of the present invention.

Returning to decisional step 408, if a fresh calibration location estimate is determined to be available, the method follows the Yes branch from decisional step 408 to step 430 where the timer is set for a recalibration trigger as described above. In this way, the calibration location estimate may be updated automatically after the specified period of time.

FIG. 5 is a flow diagram illustrating a method for obtaining a location estimate based on a non-initial trigger for the ranging receiver 14 in accordance with one embodiment of the present invention. The method begins at step 500 where the ranging receiver 14 detects a non-initial trigger.

According to one embodiment, the non-initial trigger may comprise a recalibration trigger that is automatically generated by the ranging receiver 14 periodically based on a timer. Thus, when the recalibration trigger is generated, the timer for the recalibration trigger may be automatically reset to trigger another location estimate after a specified amount of time has passed. The non-initial trigger may also comprise a trigger that is generated by a user of the wireless device 16 pushing a button 30 on the ranging receiver 14, generated by a service requester 62, or based on any other suitable request.

At decisional step 502, a determination is made regarding the status of a superframe in the ranging receiver 14. If no superframe is present in the ranging receiver 14 or if the superframe is expired, the method follows the Expired branch from decisional step 502 to step 504. The superframe may be considered expired if the superframe is greater than 96 hours old. However, it will be understood that the superframe may be considered expired based on another suitable amount of time or other suitable criteria without departing from the scope of the present invention. At step 504, the ranging receiver 14 downloads the superframe from the satellites 12 or from the geolocation processor 24.

If the superframe in the ranging receiver 14 is not current, the method follows the Not Current branch from decisional step 502 to step 506. The superframe may be considered not current if the superframe is between 4 and 96 hours old. However, it will be understood that the superframe may be considered not current based on another suitable amount of time or other suitable criteria without departing from the scope of the present invention. At step 506, the ranging receiver 14 downloads an update to the superframe from the satellites 12 or from the geolocation processor 24.

Any data obtained from the geolocation processor 24 in steps 504 or 506 may be obtained over the voice channel using the modems 40 or via an alternate pathway using, for example, a control channel for the wireless carrier network 20 or other suitable data pathway.

Returning to decisional step 502, if the superframe in the ranging receiver 14 is current, the method follows the Current branch from decisional step 502 to step 508. Also, after a superframe has been downloaded in step 504 or an update has been downloaded in step 506, the method continues to step 508. The superframe may be considered current if the superframe is less than 4 hours old. However, it will be understood that the superframe may be considered current based on another suitable amount of time or other suitable criteria without departing from the scope of the present invention.

At step 508, the location circuitry of the ranging receiver 14 is turned on. At step 510, the ranging receiver 14 begins collecting samples for CFO extraction and attempts to perform CFO extraction based on the collected samples.

At decisional step 512, a determination is made regarding whether or not the CFO extraction was successful. If the CFO extraction was successful, the method follows the Yes branch from decisional step 512 to step 514. At step 514, the ranging receiver enters the stand-alone mode for pseudorange estimation. At step 516, the ranging receiver 14 estimates pseudorange. According to one embodiment, the ranging receiver 14 estimates pseudorange in accordance with the method of FIGS. 7 and 8.

At decisional step 518, a determination is made regarding whether or not the real-time clock 232 has the current time. If the real-time clock 232 does not have the current time, the method follows the No branch from decisional step 518 to step 520.

At step 520, the real-time clock 232 for the ranging receiver 14 is calibrated, or synchronized, to a remote clock across the wireless link or based on TOD information in the positioning signals. Once calibrated, the real-time clock 232 keeps track of real time so that the timing of events in the ranging receiver 14, such as message bit transition times, can be accurately tracked. From step 520, the method continues to step 522.

Returning to decisional step 518, if the real-time clock 232 has the current time, the method follows the Yes branch from decisional step 518 to step 522. At step 522, the ranging receiver 14 performs the location estimate.

At step 524, the ranging receiver 14 determines its receiver bias based on geometric data. The geometric data may comprise satellite message data, approximate location data and/or other suitable data useful for estimating CFO for compensation during pseudorange processing in the geometric mode. The approximate location data may comprise a previous location estimate, such as a calibration location estimate, or general location information provided by an external source, such as a cell site identification provided by a PSAP or an estimate provided by a user of the wireless device 16. According to one embodiment, the ranging receiver 14 determines its receiver bias by first calculating the actual Doppler frequency shift for each of the satellite signals being received based on the geometric data for each satellite 12 and the most recent location estimate. Based on these actual Doppler frequency shifts, the ranging receiver 14 calculates the difference between the actual measured CFOs and the calculated Doppler shifts to determine the frequency bias for the ranging receiver 14, which is stored for future use. From step 524, the method continues to step 526.

Returning to decisional step 512, if the CFO extraction was not successful, the method follows the No branch from decisional step 512 to step 528. At step 528, the ranging receiver 14 enters the geometric mode. Thus, when the ranging receiver 14 can successfully perform CFO extraction, the ranging receiver 14 enters the stand-alone mode in order to determine a pseudorange. However, when the ranging receiver 14 is unable to perform CFO extraction due to the weak level of the signals being received at the ranging receiver 14, the ranging receiver 14 enters the geometric mode in order to determine a pseudorange. According to one embodiment, the ranging receiver 14 enters the geometric mode if attempted CFO extraction is unsuccessful within a pre-defined period of time. Depending on the application or embodiment, the pre-defined period of time may comprise approximately 1 to 30 seconds or any other suitable period of time.

At step 530, the ranging receiver 14 obtains geometric data for the location estimating process. As used herein “to obtain data” means to retrieve or receive data from a local memory store or from a remote device. According to one embodiment, the geometric data comprises satellite message data and approximate location data. The approximate location data may comprise a previous location estimate, such as a calibration location estimate, or general location information provided by an external source, such as a cell site identification provided by a PSAP or an estimate provided by a user of the wireless device 16.

At step 532, the ranging receiver 14 estimates the CFO for each satellite 12. According to one embodiment, these CFOs are estimated by summing the Doppler frequency shifts (which may be determined based on the geometric data) and the receiver frequency bias (which was previously determined during the calibration process).

At step 534, the ranging receiver 14 obtains message data fragments from the geolocation processor 24 or from the results of the method for predicting satellite message data described in FIG. 12 or other suitable prediction method. At step 536, the ranging receiver 14 estimates pseudorange. According to one embodiment, the ranging receiver 14 estimates pseudorange in accordance with the method of FIGS. 13A, 13B and 13C. At step 538, the ranging receiver 14 performs the location estimate.

From steps 524 and 538, the method continues to step 526 where the ranging receiver 14 stores the location estimate, receiver bias and current time. At step 540, the ranging receiver 14 reverts to the low-power standby condition. At decisional step 542, a determination is made regarding whether the trigger detected in step 500 was a recalibration trigger. If the trigger was not a recalibration trigger, the method follows the No branch from decisional step 542 to step 544. At step 544, the ranging receiver 14 sends the location estimate to the requester who generated the trigger, at which point the method comes to an end. However, if the trigger was determined to be a recalibration trigger in decisional step 542, the method follows the Yes branch from decisional step 542 and comes to an end.

FIGS. 6A and 6B are flow diagrams illustrating a method for direct CFO extraction in the system 10 in accordance with one embodiment of the present invention. The method begins at step 600 where the location circuitry of the ranging receiver 14 is turned on. At step 602, a decimated output matrix, DM, of dimension (P,W) with element pointer p,w, is initialized and the decimated output pointer, p, is initialized to 1.

At step 604, sample sizes S1 and S2 are initialized, a maximum number of samples, MAX, is initialized to S1, and a sample number, s, is set to 1. Also at step 604, a rate correction indicator, RC, is set to 0. In one embodiment, the sample size S1 is set to correspond to a sampled duration of approximately one second and the sample size S2 is set to correspond to a sampled duration between approximately 5 and 100 seconds. However, it will be understood that the sample sizes may be set to any suitable number without departing from the scope of the present invention.

At step 606, a number W of rate estimates, R_(w), is initialized and w is set to a value of one. In one embodiment, the number of estimates is selected to ensure that the error range between estimates is less than 0.1 Hz/second, but any other suitable error range may be used. For an error range of less than 0.1 Hz/second, the number of estimates is selected as the rate range divided by the error range between estimates.

At step 608, a decimation counter is initialized. According to one embodiment, the decimation counter is initialized to a decimation rate, DR, that corresponds to the rate at which the samples will be decimated. This decimation rate may be chosen in relation to the signal-sampling rate (which may be 1,024 kHz×2^(n), with n=1, 2 or 3, or other suitable rate). For example, the signal may be sampled directly to result in down-conversion to baseband at these sampling rates or at higher rates to produce results that may be easily converted to I/Q samples. According to one embodiment, the decimation rate may be chosen to yield a signal with at least a 20 kHz bandwidth, thereby allowing for the maximum range of the CFOs and the doubling in frequency caused by the squaring step. Thus, for a 2,048 kHz complex sampling rate (n=1, above), the decimation rate (DR) may be chosen to be approximately 100.

At step 610, the ranging receiver 14 collects a new signal sample. At step 611, the ranging receiver 14 increments the sample counter, s. At step 612, the ranging receiver 14 squares the signal sample in order to recover the original carrier on which the biphase Gold code is modulated and to double its original frequency. At step 614, the ranging receiver 14 adds the squared sample value to an accumulator. According to one embodiment, the squared sample is multiplied by a filtering coefficient identified by the decimation counter before being added to the accumulator. At step 616, the ranging receiver 14 decrements the decimation counter.

At decisional step 618, a determination is made regarding whether or not the decimation counter is equal to zero. If the decimation counter is not equal to zero, the method follows the No branch from decisional step 618 and returns to step 610 for the collection of another signal sample. However, if the decimation counter is equal to zero, the method follows the Yes branch from decisional step 618 to decisional step 620.

At decisional step 620, a determination is made regarding whether or not RC equals 1. According to the illustrated embodiment, rate correction is applied when RC equals 1 and is not applied when RC equals 0. However, it will be understood that rate correction may be applied based on any suitable vales for RC or based on other suitable criteria without departing from the scope of the present invention. For the illustrated embodiment, if RC equals 1, the method follows the Yes branch from decisional step 620 to step 621. At step 621, w is set to a value of one.

At step 622, the ranging receiver 14 gets the w^(th) Doppler correction. In order to determine the w^(th) Doppler correction, the ranging receiver 14 computes a pointer to a table of sine and cosine values. These tabular values are used to implement multiplication of the samples by the phase rotation vector e^(−jωt), i.e., cos(ωt)−j·sin(ωt), where j represents the square root of −1 and ω is the frequency term 2π(D_(w+)R_(w)t), where D_(w) is the current, or w^(th), Doppler shift and R_(w) is the current, or w^(th), Doppler rate. Since D_(w) is unknown, it is set to zero, and since the estimate producing the largest response will identify the appropriate rate R_(w), D_(w) will come out of the spectral analysis of each of the W rate-compensated arrays as the CFO. The variable t is the time from the beginning of the analysis to the center of the current decimated sample, i.e., t=i/f_(sample-rate), and i=signal sample number at the center of this decimated sample.

At step 624, the ranging receiver 14 complex multiplies the complex decimated sample (I/Q sampling) accumulated at step 614 by the w^(th) complex Doppler correction. At step 626, the ranging receiver 14 stores the results of the complex multiplication at a location identified by p,w in the decimated output matrix in the signal sample memory 216. At step 628, the ranging receiver 14 increments w.

At decisional step 630, a determination is made regarding whether or not w is greater than W. If w is not greater than W, the method follows the No branch from decisional step 630 and returns to step 622, where the ranging receiver 14 gets the Doppler correction for the incremented w. However, if w is greater than W, the method follows the Yes branch from decisional step 630 to step 632. At step 632, the ranging receiver 14 increments p.

Returning to decisional step 620, if RC does not equal 1, the method follows the No branch from decisional step 620 to step 634. At step 634, the value in the accumulator described in step 614 is stored at a location identified by p,w in the signal sample memory 216. At this point, the method continues to step 632 where the ranging receiver 14 increments p. From step 632, the method continues to decisional step 635.

At decisional step 635, a determination is made regarding whether or not p is equal to the maximum number of decimated samples, MAX/DR. If p is not equal to MAX/DR, the method follows the No branch from decisional step 635 and returns to step 608 where the decimation counter is re-initialized for the process of collecting additional signal samples. However, if p is equal to MAX/DR, the method follows the Yes branch from decisional step 635 to step 636.

At step 636, the ranging receiver 14 attempts to find significant carriers in the sample sets. According to one embodiment, the ranging receiver 14 attempts to find significant carriers in accordance with the method of FIG. 6B. While the ranging receiver is attempting to find significant carriers, the method continues to decisional step 640.

At decisional step 640, a determination is made regarding whether or not s is greater than MAX. If s is not greater than MAX, the method follows the No branch from decisional step 640 and returns to step 608 where the decimation counter is re-initialized. However, if s is greater than MAX, the method follows the Yes branch from decisional step 640 to step 642. At step 642, RC is set to a value of one, and MAX is increased from S1 to the greater value S2.

At decisional step 644, a determination is made regarding whether or not s is greater than MAX. If s is not greater than MAX, the method follows the No branch from decisional step 644 and returns to step 608 where the decimation counter is re-initialized. However, if s is greater than S2, the method follows the Yes branch from decisional step 644 to step 646. At step 646, a flag is set to indicate that the signal is too weak for successful CFO extraction, at which point the method comes to an end.

FIG. 6B is a flow diagram illustrating a method for attempting to find significant carriers in the method of FIG. 6A in accordance with one embodiment of the present invention. The method begins at step 650 where the decimated sample sets stored in the signal sample memory 216, each of which corresponds to a Doppler-rate compensation estimate, are Fourier-transformed into the frequency domain.

At step 652, the spectrum of each set is searched for significant carriers, i.e., carriers that are sufficiently above a noise-background threshold. According to one embodiment, a carrier is sufficiently above the noise-background threshold when the carrier is at least 6 dB above the noise-background threshold. However, it will be understood that a carrier may be sufficiently above the noise-background threshold when the carrier is any suitable level above the noise-background threshold.

In a particular embodiment, the six highest peaks are identified as possible carriers and the 20 next highest peaks are averaged to establish a noise-background threshold. The possible carriers may be confirmed as carriers that are sufficiently above the noise-background threshold when the carriers are at least four times, or the equivalent of 6 dB, higher than the threshold. It will be understood that the noise-background threshold may be otherwise suitably determined without departing from the scope of the present invention. In addition, the carriers may be considered to be sufficiently above the noise-background threshold when the carriers are at any suitable level above the threshold.

At decisional step 654, a determination is made regarding whether a specified minimum number of significant carriers sufficiently above the noise-background threshold have been found. According to one embodiment, the specified minimum number is four. According to another embodiment, the specified minimum number may be greater than four since the availability of more pseudorange estimates improves the quality or confidence level of a location estimate. However, it will be understood that any suitable number of significant carriers may be specified.

If the specified number of significant carriers have been found, the method follows the Yes branch from decisional step 654 to step 656. At step 656, the ranging receiver 14 stores the CFO results. At step 658, the direct CFO extraction of the method of FIG. 6A is ended due to the successful attempt to find significant carriers. In this way, CFOs can be extracted from approximately one second of signal sample processing from signals obstructed up to approximately 10 dB of attenuation or can be extracted from approximately 10 seconds of signal sample processing from signals obstructed up to approximately 15 dB of attenuation.

Returning to decisional step 654, if the specified number of significant carriers have not been found, the method follows the No branch from decisional step 654 and returns to the method of FIG. 6A for the continuation of direct CFO extraction.

FIG. 7 is a flow diagram illustrating a method for determining a pseudorange in the ranging receiver 14 in the stand-alone mode in accordance with one embodiment of the present invention. The method begins at step 700 where the ranging receiver 14 begins to collect samples for pseudorange estimation from the signals received from the satellites 12. At step 702, the ranging receiver 14 selects one of the CFOs determined from the direct CFO extraction process of FIG. 6 for the satellites 12. At step 704, the ranging receiver 14 begins to process the pseudorange samples by compensating the samples for the selected CFO.

At step 706, the ranging receiver 14 removes satellite message data modulation from the pseudorange samples by multiplying out the biphase message data modulation, as described in more detail below in connection with FIGS. 8A and 8B.

At step 708, the ranging receiver 14 linearly combines, or stacks, the samples into a single epoch duration result for each satellite 12. At step 710, the ranging receiver 14 compensates for time dilation. At step 712, the ranging receiver 14 correlates the Gold codes for the satellites 12 to give the pseudoranges from those satellites 12. According to one embodiment, the ranging receiver 14 correlates the Gold codes by Fourier transform means. For this embodiment, each CFO-compensated stack of samples which has been Fourier-transformed is multiplied by the Fourier transform of the time-reversed series of the Gold code for a satellite 12 (sampled at the same rate as the pseudorange samples and stored in memory 216 or 220). The product is then inverse-Fourier transformed to yield the pseudorange time sequence.

At decisional step 714, a determination is made regarding whether a correlation peak exists in each of the pseudorange time sequences that is sufficiently above a noise-background threshold. According to one embodiment, a correlation peak is sufficiently above the noise-background threshold when the correlation peak is at least 6 dB above the noise-background threshold. However, it will be understood that a correlation peak may be sufficiently above the noise-background threshold when the correlation peak is any suitable level above the noise-background threshold. If such a peak does not exist for any of the pseudorange time sequences, the method follows the No branch from decisional step 714 to decisional step 716.

At decisional step 716, a determination is made regarding whether a maximum number of combined pseudorange samples has been exceeded for the pseudorange time sequences without a correlation peak. According to various embodiments, the maximum number of combined samples is based on a corresponding amount of sampling time for a location estimate that is approximately 1 to 30 seconds. However, it will be understood that the maximum number of combined samples may be any suitable number.

If the maximum number of combined pseudorange samples has been exceeded, this indicates that the corresponding pseudorange signals being received at the ranging receiver 14 are too weak to be used. In this situation, the method follows the Yes branch from decisional step 716 to step 717 where a flag is set to indicate that the signal is too weak, at which point the method comes to an end. However, if the maximum number of combined pseudorange samples has not been exceeded, the method follows the No branch from decisional step 716 and returns to step 700 to process more samples to be combined with previously compensated and stacked samples for pseudorange estimation.

Returning to decisional step 714, if a correlation peak that is sufficiently above the noise-background threshold does exist for each of the pseudorange time sequences, the method follows the Yes branch from decisional step 714 to step 718. At step 718, a pseudorange is determined based on the correlation peak, after which the method comes to an end. According to one embodiment, a multi-path correcting centroid calculation is applied to determine a substantially exact location of the center of each of the peaks based on techniques that compensate for the distortion of each peak's shape by the presence of multi-path signals occurring near the correlation peak. In this way, a useable pseudorange may be determined based on approximately 0.1 seconds worth of received signal samples comprising a minimum carrier-to-noise density ratio of approximately 20 dB.

FIGS. 8A and 8B are flow diagrams illustrating a method for aligning message data to determine a pseudorange in the ranging receiver 14 in a stand-alone mode in accordance with one embodiment of the present invention. The method of FIG. 8A begins with the availability of a specified number of identified significant carriers, each having a CFO. According to one embodiment, the carriers are identified through the direct CFO extraction process described above in connection with FIGS. 6A and 6B.

For each of the CFOs, a pointer-step increment, g(m), is generated at step 800. This pointer-step increment is used to increment a pointer that indexes a table of sine and cosine trigonometric values to be used for frequency compensation by complex-vector rotation. The magnitude of the increment is proportional to the frequency to be compensated. In one embodiment, by using the moduli and signs of the pointer value, the table can be restricted to one quadrant of values.

At step 802, a number of epochs per sub-stack, P, is initialized and its counter, p, is set to a value of one. According to one embodiment, P is initialized to a value of four or five. At step 804, a number of sub-stacks per analysis, Q, is initialized and its counter, q, is set to a value of one. According to one embodiment Q is initialized to a value of 60/P, or twelve for the embodiment in which P is initialized to a value of five.

At step 806, a number of samples per epoch, K, is initialized, and a samples per epoch counter, k, is set to a value of one. According to one embodiment, K is initialized to a value of 1,023×2^(n), with n=1, 2 or 3. At step 808, a number of carriers, M, is initialized and a signal sample counter, i, is set to a value of one. According to one embodiment, M is initialized to a value of four, five, or six, based on the specified number of significant carriers available, as described above. At step 810, a carrier counter, m, is set to a value of one.

At step 812, the ranging receiver 14 gets a signal sample. At step 814, the ranging receiver 14 gets the m^(th) CFO compensation term for the i^(th) sample. In one embodiment, the i^(th) pointer value for the m^(th) CFO is n=modulo[g(m) i], where the modulus is equal to the number of entries in the trigonometric table that represent the interval 0 to 90 degrees of rotation. The sine and cosine values at this pointer value are fetched from the table to form the complex rotational compensation vector w=cosine [n]+j sine [n], where j represents the square root of −1. At step 816, the ranging receiver 14 complex multiplies the sample by the CFO compensation term. At step 818, the ranging receiver 14 accumulates the result of the complex multiplication at a location identified by k,q (i.e., position k in sub-stack q) in an m^(th) array. At step 820, the ranging receiver 14 increments m.

At decisional step 822, a determination is made regarding whether or not m is greater than M. If m is not greater than M, the method follows the No branch from decisional step 822 and returns to step 814. However, if m is greater than M, the method follows the Yes branch from decisional step 822 to step 824. At step 824, the ranging receiver 14 increments both k and i.

At decisional step 826, a determination is made regarding whether or not k is greater than K. If k is not greater than K, the method follows the No branch from decisional step 826 and returns to step 810 where m is set to a value of one before another signal sample is collected. However, if k is greater than K, the method follows the Yes branch from decisional step 826 to step 828. At step 828, k is set to a value of one. At step 830, the ranging receiver 14 increments p.

At decisional step 832, a determination is made regarding whether or not p is greater than P. If p is not greater than P, the method follows the No branch from decisional step 832 and returns to step 810 where m is set to a value of one before another signal sample is collected. However, if p is greater than P, the method follows the Yes branch from decisional step 832 to step 834. At step 834, p is set to a value of one. At step 836, the ranging receiver 14 increments q.

At decisional step 838, a determination is made regarding whether or not q is greater than Q. If q is not greater than Q, the method follows the No branch from decisional step 838 and returns to step 810 where m is set to a value of one before another signal sample is collected. However, if q is greater than Q, the method follows the Yes branch from decisional step 838 and comes to an end. At this point, sub-stacks have been generated for use in determining message data alignment, as described in more detail below and in connection with FIGS. 9, 10 and 11.

The method of FIG. 8B begins at step 844 where the ranging receiver 14 sets k, p, q and a sub-stacks per bit counter, r, all to a value of one and initializes a number of sub-stacks per data bit, R. According to one embodiment, R is initialized to a value of 20/P. At step 846, the ranging receiver 14 sets m to a value of one. At step 848, the ranging receiver 14 adds the value at the location identified by k,q of the m^(th) array to the value at the location identified by k,r of the m^(th) array . At step 850, the ranging receiver 14 adds the value at the location identified by k,q+R of the m^(th) array to the value at the location identified by k,r+R of the m^(th) array. At step 852, the ranging receiver 14 increments m.

At decisional step 854, a determination is made regarding whether or not m is greater than M. If m is not greater than M, the method follows the No branch from decisional step 854 and returns to step 848 to add the values at the incremented m^(th) array. However, if m is greater than M, the method follows the Yes branch from decisional step 854 to step 856. At step 856, the ranging receiver 14 increments k.

At decisional step 858, a determination is made regarding whether or not k is greater than K. If k is not greater than K, the method follows the No branch from decisional step 858 and returns to step 846 where m is set to a value of one. However, if k is greater than K, the method follows the Yes branch from decisional step 858 to step 860. At step 860, the ranging receiver 14 sets k to a value of one. At step 862, the ranging receiver 14 increments p.

At decisional step 864, a determination is made regarding whether or not p is greater than P. If p is not greater than P, the method follows the No branch from decisional step 864 and returns to step 846 where m is set to a value of one. However, if p is greater than P, the method follows the Yes branch from decisional step 864 to step 866. At step 866, the ranging receiver 14 sets p to a value of one. At step 868, the ranging receiver 14 increments r.

At decisional step 870, a determination is made regarding whether or not r is greater than R. If r is not greater than R, the method follows the No branch from decisional step 870 and returns to step 846 where m is set to a value of one. However, if r is greater than R, the method follows the Yes branch from decisional step 870 to step 872. At step 872, the ranging receiver 14 sets both r and k to a value of one. At step 874, the ranging receiver 14 sets m to a value of one.

At step 876, the ranging receiver 14 adds the value at the location identified by k,r of the m^(th) array to the value at the location identified by k,r of an m^(th) sum stack and to the value at the location identified by k,r+R of an m^(th) difference stack.

At step 878, the ranging receiver 14 adds the value at the location identified by k,r+R of the m^(th) array to the value at the location identified by k,r of the m^(th) sum stack. At step 880, the ranging receiver 14 subtracts the value at the location identified by k,r+R of the m^(th) array from the value at the location identified by k,r+R of the m^(th) difference stack. At step 882, the ranging receiver 14 increments m.

At decisional step 884, a determination is made regarding whether or not m is greater than M. If m is not greater than M, the method follows the No branch from decisional step 884 and returns to step 874 where m is set to a value of one. However, if m is greater than M, the method follows the Yes branch from decisional step 884 to step 886. At step 886, the ranging receiver 14 increments k.

At decisional step 888, a determination is made regarding whether or not k is greater than K. If k is not greater than K, the method follows the No branch from decisional step 888 and returns to step 874 where m is set to a value 1. However, if k is greater than K, the method follows the Yes branch from decisional step 888 to step 890. At step 890, the ranging receiver 14 sets k to a value of one.

At step 892, the ranging receiver 14 correlates each sum stack (evaluating the same-signed data bits) and difference stack (evaluating the different-signed data bits) with the corresponding Gold codes to obtain pseudorange peaks and stores the peak values and their polarities in an output array at locations (m,r). At step 894, the ranging receiver 14 increments r.

At decisional step 896, a determination is made regarding whether or not r is greater than R. If r is not greater than R, the method follows the No branch from decisional step 896 and returns to step 874 where m is set to a value of one. However, if r is greater than R, the method follows the Yes branch from decisional step 896 to step 898. At step 898, the ranging receiver 14 evaluates the results of the pseudorange correlations stored in step 892 in order to determine the quality of the message data alignment obtained during the current iteration. Based on the maxima of the results, the ranging receiver 14 determines the alignment, and based on the sign of the maxima, the ranging receiver 14 determines the polarity of the corresponding message data bit. At this point, stacks have been generated and used to determine coarse message data alignment, as described in more detail below in connection with FIGS. 9A and 9B.

FIGS. 9A and 9B are block diagrams illustrating a system 900 for generating accumulated sub-stacks and stacks of CFO-compensated samples and for finding which of the alignments of those stacks with the message data bits produces the largest pseudorange estimates in accordance with one embodiment of the present invention. By determining alignment for the satellite message data, the ranging receiver 14 may remove the satellite message data from the received Gold code signal by multiplying the Gold code by negative one (−1) where the bits of the satellite message data result in the Gold code being inverted. Multiple signals may then be added together to improve the signal-to-noise ratio. In this way, processing gain may be increased as compared to a signal that is squared in order to remove the satellite message data.

The system 900 comprises a data stream 902 that represents the signal being received at the ranging receiver 14 from the satellites 12. In the illustrated embodiment, each message data bit comprises 20 epochs of the Gold code. For the illustrated example, a portion of a first message data bit 902 a is followed by a second message data bit 902 b, a third message data bit 902 c and a fourth message data bit 902 d. The data stream 902 comprises a plurality of epochs 912 that are received at the ranging receiver 14 from the satellites 12. Each epoch 912 has a duration of one complete cycle of the signal's Gold code modulation. In the illustrated embodiment, for GPS signals, there are 1,023 Gold-code chips in an epoch 912, which may be sampled at 2,048 or 4,096 samples per epoch or other suitable sampling rate. Thus, each epoch 912 may include 2,048 signal samples for the first sampling rate.

To determine the satellite message data alignment in accordance with one embodiment of the present invention, the ranging receiver 14 combines a plurality of sample epochs 912 into a plurality of sub-stacks 914. According to the illustrated embodiment, the number of epochs per data bit is 20, and each sub-stack 914 comprises five epochs 912. The ranging receiver 14 then further combines the sub-stacks 914 into a plurality of stacks 916. According to the illustrated embodiment, each stack 916 comprises four sub-stacks 914. In an alternative embodiment, each sub-stack 914 could comprise four epochs 912 and each stack 916 could comprise five sub-stacks 914. It will be understood that other suitable numbers of epochs 912 may be included in each sub-stack 914 and other suitable numbers of sub-stacks 914 may be included in each stack 916 without departing from the scope of the present invention.

The ranging receiver 14 then identifies pairs of stacks 916 such that each pair comprises adjacent epochs 912 of the data stream 902. For example, the pair 916 a comprises stack S1, which includes the first 20 epochs 912 of the data stream 902, and stack S7, which includes the second 20 epochs 912 of the data stream 902. For each such pair of stacks 916, the ranging receiver 14 forms both the sum and difference values in each of the stacks 916. The message data alignment may then be determined based on the largest pseudorange peak values for each sum and difference pair. In addition, the polarities of the largest pseudorange peak values indicate the signs for the corresponding message data bit pairs. Knowledge of whether the sum or difference provided the pseudorange peak value may be used to determine the order of the data bit-pair (e.g., “01” or “10” for difference and “00” or “11” for sum).

FIG. 9B is a block diagram illustrating a portion of the system 900 in greater detail in accordance with one embodiment of the present invention. The illustrated system 900 comprises a plurality of epochs 912 a to 912 e that comprise signal samples that are representative of the Gold code chips for the signal received from a satellite 12 at the ranging receiver 14. To determine coarse satellite message data alignment, the ranging receiver 14 begins at an arbitrary time to accumulate samples of the signal for a satellite 12 in accumulators 918. As used herein, “coarse” alignment means alignment to within 2.5 epochs 912, which arises from the choice of 5 epochs 912 per sub-stack 914. According to one embodiment, the number of accumulators 918 corresponds to the number of samples in an epoch 912. Thus, for the embodiment in which each epoch 912 comprises 1,023 chips and the signal-sampling rate is 2,048 samples per epoch, the system 900 comprises 2,048 accumulators 918.

As each sample of the signal is received at the ranging receiver 14, the signal is accumulated in an accumulator 918. For example, if the sampling rate was a sample per chip and synchronous with its position in the Gold code epoch and if the ranging receiver 14 begins to accumulate samples of the Gold code with the 733^(rd) chip of the Gold code, the sample representing the 733^(rd) chip of the Gold code would be accumulated in the A₁ accumulator 918, the sample representative of the 734^(th) chip of the Gold code would be accumulated in the A₂ accumulator 918, and so on, with the sample representing the 732^(nd) chip of the Gold code accumulated in the A_(n) accumulator 918.

After the samples of the first epoch 912, which comprises an entire cycle of the Gold code, are accumulated in the accumulators 918, the next epoch of samples 912, or cycle of the Gold code, is similarly accumulated such that each accumulator 918 accumulates the sample representing the same chip of the Gold code. Thus, while within the same message data bit, the samples representing the first chip of each epoch 912 are accumulated with the same algebraic sign, and so on for all the samples in the epochs 912 representing the current message data bit. When the sign of the next message bit changes, the sign of all the signal samples representing the new message data bit are inverted and, when accumulated, diminish the previously accumulated sums.

According to the illustrated embodiment, each accumulator 918 accumulates samples for five epochs 912. However, it will be understood that the accumulators 918 may accumulate samples for any suitable number of epochs 912 without departing from the scope of the present invention.

After five epochs 912 are accumulated in the accumulators 918, the resulting values in the accumulators 918 are saved into a sub-stack 914, such as the sub-stacks 914 labeled A through M in the illustrated embodiment. The accumulators 918 may then be cleared and begin accumulating samples for the next five epochs 912 to be combined into the next sub-stack 914.

For the embodiment in which the accumulators 918 accumulate chips for five epochs 912, each sub-stack 914 comprises a combination of five epochs 912. However, it will be understood that the sub-stacks 914 may comprise any suitable number of epochs 912 based on the number of epochs 912 accumulated in the accumulators 918 without departing from the scope of the present invention.

The sub-stacks 914 are further combined into stacks 916. According to one embodiment, each stack 916 comprises four sub-stacks 914. Thus, for the embodiment in which each sub-stack 914 comprises five epochs 912, each stack 916 comprises 20 epochs 912. This corresponds to the length of a bit of satellite message data, which is 20 epochs 912. However, it will be understood that the stacks 916 may comprise any suitable number of sub-stacks 914 without departing from the scope of the present invention.

The stacks 916 are grouped into pairs of stacks 916 representing adjacent data bits. Thus, for example, the pair 916 a comprises stack S1 (comprising sub-stacks A, B, C and D) and stack S7 (comprising sub-stacks E, F, G and H). The pair 916 b comprises stack S2 (comprising sub-stacks B, C, D and E) and stack S8 (comprising sub-stacks F, G, H and I). For the illustrated embodiment based on sub-stacks 914 of A through M, the sub-stacks 914 may be combined into twelve stacks 916, or six pairs of stacks 916.

To determine a coarse alignment for the satellite message data, the stacks 916 in each pair are added and subtracted and the sum and difference arrays are evaluated for pseudorange peaks. Thus, for example, the values of Stack S1 and Stack S7 are added together and subtracted from each other, while the values of Stack S2 and Stack S8 are added together and subtracted from each other, and so on for each of the six pairs of stacks 916.

FIG. 10 is a block diagram illustrating a system 920 for refining satellite message data alignment in the system 10 in accordance with one embodiment of the present invention. The illustrated system 920 comprises two partial stacks 922 (derived from the coarse alignment method described in connection with FIG. 9 above) separated by two refining epochs 924 (each refining epoch 924 comprising two epochs 912) with two refining epochs 924 both before and after the partial stacks 922. Given that the choice of five epochs per sub-stack in the coarse alignment as described above provided an alignment of within {fraction (5/2)} or 2.5 epochs 912, the choice of two refining epochs 924 in this illustration tests the alignment further by two refining epochs 924 and moves the alignment within 0.5 epochs 912, which is referred to herein as a “refined” alignment. This system 920 reduces computational load as compared to the system 900 by using epoch sums for the refining epochs 924 on the edges of the partial stacks 922.

According to one embodiment, each partial stack 922 comprises 16 epochs 912 and each refining epoch 924 comprises two epochs 912. Thus, according to the embodiment in which each stack 916 comprises 20 epochs 912, a stack 916 comprises a partial stack 922 and two refining epochs 924. For the illustrated embodiment, a stack 916 may comprise the partial stack 922 a with the refining epochs 924 of U and V, V and W, or W and X. The corresponding stack 916 for a pair of stacks 916 may comprise the partial stack 922 b with the refining epochs 924 of W and X, X and Y, or Y and Z.

According to one embodiment, the ranging receiver 14 synchronously accumulates samples of the signal from satellites 12 in the accumulators 918 as described above in connection with FIG. 9B. However, the number of epochs 912 accumulated in each accumulator 918 may correspond to the number of epochs 912 in a partial stack 922 or a refining epoch 924. Thus, instead of sub-stacks 914 of the same size, the system 920 comprises accumulations of 16 epochs 912 for the partial stacks 922 and two epochs 912 for the refining epochs 924.

For this embodiment, the number of epoch sums is reduced as compared to the number used in the system 900. First, summing each of the six refining epochs 924 results in six sums. Second, the stacks may be shifted by adding and subtracting the epoch sums for the refining epochs 924, which results in an additional five sums for a total of eleven sums. Thus, either two or three epoch sums may be used to shift the stacks 916 earlier or later by two epochs 912.

According to an alternative embodiment, the sub-stacks 914 and stacks 916 of satellite signal samples can be accumulated as described in FIGS. 8A and 8B above, and the coarse alignment can be determined as described in FIGS. 9A and 9B above. Once the coarse alignment has been determined, the refining epochs 924 may be formed from the original samples 902 in storage. Then subtracting the refining epochs 924 from the aligned stacks 916 may form the partial stacks 922.

For example, a pair of stacks 916 may comprise a first stack 916 (with the partial stack 922 a and refining epochs 924 of V and W) and a second stack 916 (with the partial stack 922 b and refining epochs 924 of X and Y). In order to shift these stacks 916 two epochs 912 earlier, therefore, and to recompute the sum of the values, the epoch sum for U may be added, while the epoch sum for Y is subtracted. Alternatively, to shift two epochs 912 later, the epoch sum for V may be subtracted, while the epoch sum for Z is added. Also, to recompute the difference in values, the epoch sum for U and Y may be added, while twice the value of the epoch sum for W is subtracted to shift earlier, and epoch sums for V and Z may be subtracted, while twice the value of the epoch sum for X is added to shift later. In this way, eleven epoch sums may be used to obtain a refined alignment of the satellite message data, as compared to the 41 epoch sums used in the system 900 to obtain a coarse alignment.

FIG. 11 is a flow diagram illustrating a method for aligning message data in the ranging receiver 14 in accordance with one embodiment of the present invention. The method begins at step 1100 where the ranging receiver 14 generates sub-stacks 914 based on epochs 912 accumulated in the accumulators 918. At step 1102, the ranging receiver 14 combines the sub-stacks 914 into stacks 916 which are grouped together in pairs. At step 1104, the ranging receiver 14 calculates a sum and difference for each pair of stacks 916.

At step 1106, the ranging receiver 14 determines the maxima of the pseudorange peaks, the peaks being based on correlations of the stacks 916 with the satellite Gold codes. According to one embodiment, this is accomplished by searching for the six largest values in the correlates of the sum and difference stacks, along with the offsets at which the maxima occur. After the maxima are found, a satellite ID is determined from the Gold code yielding the peak and the pseudorange is determined by the centroid of the correlation peak. In this way, the satellite message data may be aligned to within 2.5 epochs 912.

At decisional step 1108, a determination is made regarding whether or not the alignment is to be refined. If the alignment is not to be refined, the method follows the No branch from decisional step 1108 and comes to an end. However, if the alignment is to be refined, the method follows the Yes branch from decisional step 1108 to step 1109.

At step 1109, the ranging receiver 14 identifies partial stacks 922 and refining epochs 924 which may be combined into stacks 916. At step 1110, the ranging receiver 14 determines sums for the refining epochs 924. At step 1112, the ranging receiver 14 shifts the stacks 916 based on the refining epochs 924, as described in more detail above in connection with FIG. 10. At step 1114, the ranging receiver 14 determines a refined alignment based on the shifted stacks 916, at which point the method comes to an end. In this way, the satellite message data may be aligned to within 0.5 epochs 912.

FIG. 12 is a flow diagram illustrating a method for predicting satellite message data received in positioning signals at the ranging receiver 14 in accordance with one embodiment of the present invention. The method begins at decisional step 1200 where a determination is made regarding the status of a superframe in the ranging receiver 14.

If no superframe is present in the ranging receiver 14 or if the superframe is expired, the method follows the Expired branch from decisional step 1200 to step 1202. The superframe may be considered expired if the superframe is greater than 96 hours old. However, it will be understood that the superframe may be considered expired based on another suitable amount of time or other suitable criteria without departing from the scope of the present invention. At step 1202, the ranging receiver 14 downloads the superframe from the satellites 12 or from the geolocation processor 24.

If the superframe in the ranging receiver 14 is not current, the method follows the Not Current branch from decisional step 1200 to step 1204. The superframe may be considered not current if the superframe is between 4 and 96 hours old. However, it will be understood that the superframe may be considered not current based on another suitable amount of time or other suitable criteria without departing from the scope of the present invention. At step 1204, the ranging receiver 14 downloads an update to the superframe from the satellites 12 or from the geolocation processor 24.

Any data obtained from the geolocation processor 24 in steps 1202 or 1204 may be obtained over the voice channel using the modems 40 or via an alternate pathway using, for example, a control channel for the wireless carrier network 20 or other suitable data pathway.

Returning to decisional step 1200, if the superframe in the ranging receiver 14 is current, the method follows the Current branch from decisional step 1200 to decisional step 1206. Also, after a superframe has been downloaded in step 1202 or an update has been downloaded in step 1204, the method continues to decisional step 1206. The superframe may be considered current if the superframe is less than 4 hours old. However, it will be understood that the superframe may be considered current based on another suitable amount of time or other suitable criteria without departing from the scope of the present invention.

At decisional step 1206, a determination is made regarding whether or not the real-time clock 232 has the current time. If the real-time clock 232 does not have the current time, the method follows the No branch from decisional step 1206 to step 1208. At step 1208, the real-time clock 232 for the ranging receiver 14 is calibrated, or synchronized, to GPS time based on a remote clock or TOD information in the positioning signals. Once calibrated, the real-time clock 232 keeps track of GPS time.

At step 1210, the ranging receiver 14 sets up a common table that is operable to store data that is common to the superframe for each satellite in the constellation of satellites. According to one embodiment, approximately 60% of the superframe is common to each satellite in the constellation.

At step 1212, for each of the satellites, the ranging receiver 14 sets up a unique table that is operable to store data that is unique to the superframe of the corresponding satellite. For example, this unique data may comprise ephemeris data, telemetry data, tropospheric data, ionospheric propagation models, and other suitable data relating to the satellite. At this point, along with time and date information from the real-time clock 232 at the time it is required, the message predictor has been set up for subsequent use by the ranging receiver 14 in predicting satellite message data for a specified satellite 12 from which positioning signals are received. From step 1212, the method continues to step 1214.

Returning to decisional step 1206, if the real-time clock 232 has the current time, the method follows the Yes branch from decisional step 1206 to decisional step 1215. At decisional step 1215, a determination is made regarding whether the prediction tables, which include the common table and the unique tables, are current. Each of the prediction tables may comprise any suitable data store. If the prediction tables are not current, the method follows the No branch from decisional step 1215 and proceeds to step 1210 where the ranging receiver 14 sets up a common table.

However, if the prediction tables are current, the method follows the Yes branch from decisional step 1215 to step 1214. At step 1214, the ranging receiver 14 begins to predict a message fragment. At step 1216, the ranging receiver 14 identifies the satellite 12, and the time interval, corresponding to the message fragment to be predicted. At step 1218, the ranging receiver 14 generates a message fragment table for predicting the message fragment.

At step 1220, the ranging receiver 14 adds data from the common table to the message fragment table. At step 1222, the ranging receiver 14 adds data from the unique table for the satellite 12 identified in step 1216 to the message fragment table. At step 1224, the ranging receiver 14 adds time-dependent data, such as bit transition timing information, to the message fragment table based on the current GPS time obtained from the real-time clock 232.

At step 1226, the ranging receiver 14 provides the predicted message fragment, which comprises the data for predicting the satellite message data, to the requester. Thus, in this way, the ranging receiver 14 may predict the satellite message data in the positioning signals so that the message data may be removed after alignment, which may be performed as described above in connection with FIGS. 9-11.

FIGS. 13A, 13B and 13C are flow diagrams illustrating a method for determining a pseudorange estimate in the ranging receiver 14 in a geometric mode in accordance with one embodiment of the present invention. The method provides for determining a pseudorange based on the availability at the ranging receiver 14 of: (i) accurately known real time (with reference to the satellite constellation and within about a millisecond); (ii) an estimate of the current location of the ranging receiver 14 (within about a mile); (iii) an estimate of the frequency bias of the ranging receiver 14; (iv) recent (within about 24 hours) ephemeris data; and (v) recent (within about 96 hours) constellation superframe data. In FIG. 13A, the method begins at step 1300 where the ranging receiver 14 determines a set of Doppler-shift, Doppler-rate and satellite ID data for a selected set of satellites from calculations based on the current geometric data referred to above. This set of data may be selected from among the satellites 12 potentially viewable from the location of the ranging receiver 14 at that time. This selection may be based on suitable criteria, such as low geometric dilution of precision, low elevation angle, or any suitable criteria. At step 1302, for each satellite 12 in the set, the ranging receiver 14 sets up a table of message data bits that will be transmitted during the time that pseudorange samples will be processed.

At step 1304, the ranging receiver 14 computes the CFO and CFO-rate for each of the satellites 12. The CFO is determined by adding the frequency bias of the ranging receiver 14 to the computed Doppler frequency shift. The ranging receiver 14 then assigns the Doppler rate to the CFO-rate for each of the satellites 12. At step 1306, the ranging receiver 14 stores the CFOs and the corresponding CFO-rates in a table.

At step 1308, the ranging receiver 14 initializes a maximum number of samples, I, and sets a sample counter, i, to one. The maximum number of samples may be chosen to limit the maximum integration time to suit the application, such as 10 to 30 seconds, but other values outside this range are also possible. At step 1310, a number of epochs, P, to be averaged is initialized. The number of epochs (which corresponds to the number of samples) to be averaged during one loop-through may be selected according to various criteria, such as the total processing gain to be provided per loop-through, the amount of memory available for table or intermediate result storage and any other suitable criteria. At step 1312, a number of carriers, M, is initialized.

At step 1314, a number of samples per epoch, K, is initialized. At step 1316, the ranging receiver 14 sets the epoch sample number, k, to a value of one. At step 1318, the ranging receiver 14 sets the carrier counter, m, to a value of one.

At step 1320, the ranging receiver 14 gets a signal sample for processing. At step 1322, the ranging receiver 14 gets the m^(th) CFO compensation term for the i^(th) sample. At step 1324, the ranging receiver 14 complex multiplies the sample by the CFO compensation term. At step 1326, the ranging receiver 14 scalar multiplies the CFO-compensated sample by its corresponding data bit polarity, which may be determined in accordance with the method of FIG. 13B.

At step 1328, the ranging receiver 14 adds the result of the multiplication in step 1326 to a location identified by k in an m^(th) array. At step 1330, the ranging receiver 14 increments m. At decisional step 1332, a determination is made regarding whether or not m is greater than M. If m is not greater than M, the method follows the No branch from decisional step 1332 and returns to step 1322. However, if m is greater than M, the method follows the Yes branch from decisional step 1332 to step 1334. At step 1334, the ranging receiver 14 increments both k and i.

At decisional step 1336, a determination is made regarding whether or not k is greater than K. If k is not greater than K, the method follows the No branch from decisional step 1336 and returns to step 1318 where m is set to a value of one. However, if k is greater than K, the method follows the Yes branch from decisional step 1336 to step 1338. At step 1338, the ranging receiver 14 sets k to a value of one. At step 1340, the ranging receiver 14 increments p.

At decisional step 1342, a determination is made regarding whether or not p is greater than P. If p is not greater than P, the method follows the No branch from decisional step 1342 and returns to step 1318 where m is set to a value of one. However, if p is greater than P, the method follows the Yes branch from decisional step 1342 to step 1344. At step 1344, the ranging receiver 14 sets m to a value of one.

At step 1346, the ranging receiver 14 correlates an m^(th) pseudorange stack with a Gold code for an m^(th) satellite ID. At step 1348, the ranging receiver 14 compensates for time dilation by correlation peak shifting. According to one embodiment, time-dilation compensation may be accomplished by vector rotation in the frequency domain during the correlation by FFT means during step 1346. According to another embodiment, time-dilation compensation may be accomplished by suitable sub-stack sample shifting prior to final accumulation and conversion to pseudorange by correlation. In yet another embodiment, the time-dilation compensation may be performed in accordance with the time-shifting method of FIG. 13C. At step 1350, the pseudorange stack is added to an m^(th) extended output stack and the m^(th) pseudorange is evaluated for an adequate peak. At step 1352, the ranging receiver 14 increments m.

At decisional step 1354, a determination is made regarding whether or not m is greater than M. If m is not greater than M, the method follows the No branch from decisional step 1354 and returns to step 1346 where the m^(th) pseudorange stack is correlated with the Gold code of the m^(th) satellite ID for the incremented m. However, if m is greater than M, the method follows the Yes branch from decisional step 1354 to decisional step 1356.

At decisional step 1356, a determination is made regarding whether any peak is not adequate. If each peak is adequate, then the minimum number, M, of pseudoranges has been detected successfully and the method follows the No branch from decisional step 1356 and comes to an end. In this way, a pseudorange may be determined in the range of 1 to 30 seconds based on received signals comprising a minimum carrier-to-noise density ratio in the range of 5 dB to 10 dB. However, if any peak is found to be not adequate, the method follows the Yes branch from decisional step 1356 to decisional step 1358.

At decisional step 1358, a determination is made regarding whether or not a maximum number of samples, I, has been exceeded. If the maximum number of samples has been exceeded, the method follows the Yes branch from decisional step 1358 to step 1360. At step 1360, a flag is set to indicate that the signal is too weak for the minimum number, M, of pseudoranges to be detected successfully, at which point the method comes to an end.

Returning to decisional step 1358, if the maximum number of samples has not been exceeded, the method follows the No branch from decisional step 1358 to step 1362. At step 1362, the ranging receiver 14 clears the input sample stacks. At this point, the method returns to step 1316 where k is set to a value of one.

FIG. 13B is a flow diagram illustrating a method for removing message data modulation in the method of FIG. 13A in accordance with one embodiment of the present invention. The method begins at step 1364 where, based on geometric prediction, the ranging receiver 14 obtains satellite IDs, Doppler frequency shift, and Doppler rates. At step 1366, the ranging receiver 14 stores a message bit transition offset, T(m), for each of the M satellites 12 based on the results of the method for predicting satellite message data described in FIG. 12. These offsets also include the signal transit time to the ranging receiver 14 for each satellite 12.

At step 1368, the ranging receiver 14 stores a specified number of message data bits for each satellite 12 based on the results of the method for predicting satellite message data described in FIG. 12. According to one embodiment, the specified number of message data bits is equal to the result of dividing (a) the maximum number of samples by (b) 20 times the product of the sampling rate (samples per chip) and the chips per epoch. However, it will be understood that any suitable number of message data bits may be stored without departing from the scope of the present invention. Also, according to one embodiment, message data bits of logical (1) and (0) may be stored as values of +1 and −1, respectively, or as values of −1 and +1, respectively. However, it will be understood that the message data bits may be stored in any suitable manner without departing from the scope of the present invention.

At step 1370, the ranging receiver 14 multiplies the CFO-compensated samples by the corresponding stored message data bits. According to one embodiment, for the m^(th) satellite, the value of the pointer to the message data bit may be determined by the ranging receiver 14 based on the following formula: IntegerPart[{T(m)+i}/K]+1, where T(m) is the message bit transition offset for the message bits from the m^(th)satellite 12, i is the sample number and K is the number of samples per epoch.

FIG. 13C is a flow diagram illustrating a method for compensating for time dilation in the method of FIG. 13A in accordance with one embodiment of the present invention. In this method, a time offset, t, from the beginning of the analysis to the beginning of the current sub-stack has a value of i−PK when the routine is entered from step 1348 of FIG. 13A. The m^(th) Doppler at the beginning of this sub-stack, n(m), is equal to d(m)+t r(m), where d(m) is the m^(th) Doppler at the beginning of the analysis and r(m) is the m^(th) Doppler rate expressed in per-sample terms, rather than per-second terms. The average of the m^(th) Doppler, ad(m), from the beginning of the current analysis to the beginning of the current sub-stack is equal to d(m)+(t r(m))/2. The average of the m^(th) Doppler in the current sub-stack, adstack(m), is equal to n(m)+t r(m)/2. The time shift to the beginning of this sub-stack, Del(m), is equal to ad(m)Tt/f(c) in second terms and ad(m)t/fc in sample terms. The time shift within the current sub-stack, Dstack(m), is equal to adstack(m)TPK/f(c) in second terms and ad(m)PK/fc in sample terms. The total time shift, TS(m), is equal to Del(m)+Dstack(m).

In addition, the following variables are defined for the purpose of this illustration, without limiting the application to only the GPS satellite constellation characteristics, as follows: i=sample number; M=number of carriers; d(m)=value of Doppler-shift, per instance of m; n(m)=value of Doppler at the beginning of the stacking process (i.e., when i=1)+the accumulated bias rate up to the beginning of the current sub-stack, per instance of m; r(m)=value of Doppler rate, per instance of m; K=number of samples per epoch; P=number of epochs per integration cycle; S=number of samples per sub-stack; c=speed of light; f(c)=GPS satellite carrier frequency (i.e., 1575.42 MHz); T=interval between samples; v=sample index within current sub-stack; u=sample index within extended output stack; TS=total time shift; SS=sub-stack sample; OS=output stack sample; FP[ ]=FractionalPart of; and IP[ ]=IntegerPart of.

The method begins at step 1380 where the ranging receiver 14 sets the sample index, v, to a value of one. At decisional step 1382, a determination is made regarding whether the time shift is positive or negative (which depends on, and is opposite to, the sign of the Doppler-shift). If the time shift is negative, the method follows the Negative branch from decisional step 1382 to step 1384. At step 1384, the ranging receiver 14 adds (FP[TS])*SS(v) to OS(m),(v+IP[TS]−1). At step 1386, the ranging receiver 14 adds (1−FP[TS])*SS(v) to OS(m),(v+IP[TS]). At step 1388, the ranging receiver increments v.

At decisional step 1390, a determination is made regarding whether or not v is greater than K. If v is not greater than K, the method follows the No branch from decisional step 1390 and returns to step 1384. However, if v is greater than K, pseudorange peaks may be evaluated and the method follows the Yes branch from decisional step 1390 and returns to step 1350 in FIG. 13A.

Returning to decisional step 1382, if the time shift is positive, the method follows the Positive branch from decisional step 1382 to step 1392. At step 1392, the ranging receiver 14 adds (1−FP[TS])*SS(v) to OS(m),(v+IP[TS]). At step 1394, the ranging receiver 14 adds FP[TS]*SS(v) to OS(m), (v+IP[TS]+1) At step 1396, the ranging receiver 14 increments v.

At decisional step 1398, a determination is made regarding whether or not v is greater than K. If v is not greater than K, the method follows the No branch from decisional step 1398 and returns to step 1392. However, if v is greater than K, pseudorange peaks may be evaluated and the method follows the Yes branch from decisional step 1398 and returns to step 1350 in FIG. 13A.

FIG. 14 is a flow diagram illustrating a method for determining geolocation in the ranging receiver 14 with matching assistance in accordance with one embodiment of the present invention. The method begins at step 1400 where the ranging receiver 14 waits in a low-power standby mode for a trigger to start the pseudorange estimating process. The trigger may comprise a request generated by the wireless device 16 automatically, a request generated by a user of the wireless device 16 such as by pushing a button 30 on the ranging receiver 14, a request from an external source such as the Internet, a geolocation processor 24 or other suitable external source, or any other suitable trigger.

Once the trigger is received, the location circuitry of the ranging receiver 14 is turned on at step 1402. Thus, for example, the power management circuitry 230 may provide full power to each of the components 204, 206, 208, 210, 212, 214, 216, 218, 220 and 222 after receiving the trigger.

At step 1404, the real-time clock 232 for the ranging receiver 14 is calibrated, or synchronized, to a remote clock across the wireless link or based on TOD information in the positioning signals. Once calibrated, the real-time clock 232 keeps track of real time so that the timing of events in the ranging receiver 14 can be accurately tracked.

At step 1406, the ranging receiver 14 clears any prior signal samples in the signal sample memory 216. At step 1408, the ranging receiver 14 begins to collect samples for carrier detection by direct CFO extraction from the signals received from the satellites 12. At step 1410, the CFOs are directly extracted from the samples, as described in more detail above in connection with FIGS. 6A and 6B.

At decisional step 1412, a determination is made regarding whether at least a specified number of significant carriers and their CFOs have been found. According to one embodiment, the specified number is four. However, it will be understood that the specified number may comprise any suitable number. If the specified number of significant carriers have not been found, the method follows the No branch from decisional step 1412 to decisional step 1414.

At decisional step 1414, a determination is made regarding whether a maximum number of collected CFO extraction samples has been exceeded. According to one embodiment, the maximum number of collected samples comprises the number of samples that may be collected in approximately one second. Thus, the maximum number of collected samples may be based on the sampling rate. However, it will be understood that the maximum number of collected samples may be any suitable number.

If the maximum number of collected CFO extraction samples has been exceeded, this indicates that the signals being received at the ranging receiver 14 are too weak to be used. In this situation, the method follows the Yes branch from decisional step 1414 and comes to an end. However, if the maximum number of collected CFO extraction samples has not been exceeded, the method follows the No branch from decisional step 1414 and returns to step 1408 for the collection of more signal samples for CFO extraction.

Returning to decisional step 1412, if the specified number of significant carriers have been found, the method follows the Yes branch from decisional step 1412 to step 1416. At step 1416, the ranging receiver 14 sends CFO results to the geolocation processor 24 through the service center 18. According to one embodiment, the CFO results comprise the CFO estimates, the real time for the CFO estimate measurements and/or other suitable data related to the CFO estimates. At step 1418, the ranging receiver 14 receives satellite information from the geolocation processor 24. The satellite information may comprise satellite IDs, the most recent satellite message data fragments, and bit transition information for each of the satellites 12 identified by the geolocation processor 24 based on the CFO results and/or any other suitable information.

At step 1420, the ranging receiver 14 associates the CFOs with their respective satellites 12 based on the satellite information received from the geolocation processor 24. At step 1422, the ranging receiver 14 begins to collect samples for pseudorange estimation from the signals received from the satellites 12. At step 1424, the ranging receiver 14 begins to process the pseudorange samples by compensating the samples for the CFOs.

At step 1426, the ranging receiver 14 aligns satellite message data fragments with the pseudorange samples and removes the message data modulation from the samples by multiplying out the biphase message data modulation, as described in more detail above in connection with FIGS. 8, 9, 10, 11 and 12.

At step 1428, the ranging receiver 14 linearly combines, or stacks, the samples into a single epoch duration result for each satellite 12. At step 1430, the ranging receiver 14 correlates the Gold codes for the satellites 12. According to one embodiment, the ranging receiver 14 correlates the Gold codes by Fourier transform. For this embodiment, the Fourier transform of each CFO-compensated stack of samples is multiplied by the Fourier transform of the time-reversed series of the Gold code for a satellite 12 (sampled at the same rate as the pseudorange samples and stored in memory 216 or 220). The product is then either compensated for time-dilation by complex vector multiplication in the frequency domain before it is inverse-Fourier transformed to yield the time-dilation compensated pseudorange time sequence, or the product is inverse-Fourier transformed to yield the un-compensated pseudorange time sequence, which is compensated for time dilation by element-shifting, as described in FIG. 13C, at step 1432.

At decisional step 1434, a determination is made regarding whether a correlation peak exists in each of the pseudorange time sequences that is sufficiently above a noise-background threshold. According to one embodiment, a correlation peak is sufficiently above the noise-background threshold when the correlation peak is at least 6 dB above the noise-background threshold. However, it will be understood that a correlation peak may be sufficiently above the noise-background threshold when the correlation peak is any suitable level above the noise-background threshold. If such a peak does not exist for any of the pseudorange time sequences, the method follows the No branch from decisional step 1434 to decisional step 1436.

At decisional step 1436, a determination is made regarding whether a maximum number of signal samples that have been combined for pseudorange estimation has been exceeded for the pseudorange time sequences without a correlation peak. According to one embodiment, the maximum number of signal samples that have been combined for pseudorange estimation comprises the number of samples that may be combined in approximately one second. Thus, the maximum number of signal samples that have been combined for pseudorange estimation may be based on the sampling rate. However, it will be understood that the maximum number of combined samples may be any suitable number.

If the maximum number of combined pseudorange samples has been exceeded, this indicates that the corresponding pseudorange signals being received are too weak at the ranging receiver 14 to be used. In this situation, the method follows the Yes branch from decisional step 1436 to step 1437. At step 1437, the ranging receiver 14 sets a flag to indicate that the signal is too weak and returns to step 1400 where the ranging receiver 14 reverts to the low-power standby condition and waits for another trigger. However, if the maximum number of combined pseudorange samples has not been exceeded, the method follows the No branch from decisional step 1436 and returns to step 1422 to collect more signal samples for pseudorange estimation.

Returning to decisional step 1434, if a correlation peak that is sufficiently above the noise-background threshold does exist for each of the pseudorange time sequences, the method follows the Yes branch from decisional step 1434 to step 1438. At step 1438, a multi-path correcting centroid calculation is applied to determine a substantially exact location of the center of each of the peaks based on techniques that compensate for the distortion of each peak's shape by the presence of multi-path signals occurring near the correlation peak.

At step 1442, the ranging receiver 14 sends pseudorange data for each of the carriers detected from the constellation of satellites 12 to the geolocation processor 24 for calculation of the geolocation of the ranging receiver 14. According to one embodiment, the pseudorange data comprises the estimate of the pseudorange, the measurement time, the satellite ID for each satellite 12 and/or any other suitable data. At step 1444, the ranging receiver 14 or other requesting application receives the geolocation of the ranging receiver 14 from the geolocation processor 24, after which the method returns to step 1400 where the ranging receiver 14 reverts to the low-power standby condition and waits for another trigger.

FIG. 15 is a flow diagram illustrating a method for determining geolocation in the geolocation processor 24 by providing matching assistance in accordance with one embodiment of the present invention. The method begins at step 1500 where the geolocation processor 24 receives geolocation initiating information. For example, the geolocation initiating information may comprise protocol identifying information and version information for the ranging receiver 14 provided by the ranging receiver 14 in response to a trigger. However, it will be understood that the geolocation initiating information may comprise any suitable information related to the initiation of the geolocation process. According to one embodiment, the geolocation initiating information is received from the ranging receiver 14 over the voice channel for the wireless device 16 by way of the service center 18.

At step 1502, the geolocation processor 24 sends an acknowledgement of the receipt of the geolocation initiating information. For example, the geolocation processor 24 may transmit a handshake code to the ranging receiver 14 in order to establish communication and acknowledge compatibility.

At step 1504, the geolocation processor 24 receives a time calibration signal from the ranging receiver 14. The time calibration signal may comprise a complete sequence of, for example, a maximal length pseudorandom noise sequence or a Barker code modulated on an audio carrier tone. It will be understood, however, that the time calibration signal may comprise any other suitable timing signal.

At step 1506, the geolocation processor 24 sends a time calibration response based on the time calibration signal. According to one embodiment, the geolocation processor 24 sends the time calibration response a pre-defined period of time after receiving the time calibration signal. For example, the pre-defined period of time may comprise 10 milliseconds or other suitable period of time. The time calibration response may comprise a different maximal length pseudorandom noise sequence modulated on the same carrier tone as the time calibration signal, followed by a message indicating a real time associated with the response. The real time information may be used by the ranging receiver 14 in order to calibrate the real-time clock 232.

At step 1508, the geolocation processor 24 receives CFO estimates from the ranging receiver 14. At step 1510, the geolocation processor 24 matches the differences in the CFO estimates from the ranging receiver 14 to differences in Doppler frequency shift measurements for signals received by the receivers 48 and/or 60 or based on geometric prediction from the satellite constellation's current geometric data.

At step 1512, any duplicate matches found in step 1510 are eliminated in order to identify the satellites 12. According to one embodiment, duplicate matches are eliminated by a least-squares regression method. At step 1514, the geolocation processor 24 sends satellite information to the ranging receiver 14. The satellite information may comprise the satellite IDs, the satellite message data patterns, the timing information for bit transitions in the satellite message data patterns and/or any other suitable information.

At step 1516, the geolocation processor 24 receives pseudorange data, which is generated based on the satellite information, from the ranging receiver 14. The pseudorange data may comprise an estimate of the pseudorange, a measurement time, a satellite ID for each satellite 12 and/or any other suitable data.

At step 1518, the geolocation processor 24 determines the geolocation of the ranging receiver 14 based on the pseudorange data, the current ephemeris data and/or any other suitable information. At step 1520, the geolocation processor 24 sends the geolocation of the ranging receiver 14 to the requesting application, at which point the method comes to an end. The geolocation may be sent in-band over the voice channel of the wireless device 16, over the data network 66, or by any other suitable means.

FIG. 16 is a flow diagram illustrating a method for determining geolocation in the ranging receiver 14 by aligning or other time searching a predetermined message data segment with a corresponding segment of the received signal in order to determine pseudorange, range or time-of-arrival in the ranging receiver, in accordance with one embodiment of the present invention. A predetermined message data segment is any combination of known bits contained within the carrier signal. Bits are known when the value, modulation, sign or other characteristic of the bit, or the manner by which the modulation, sign or characteristic is changed, is constant, may be predicted or may be otherwise determined based on a known calculation or logic, before the signal sample that is comprised of such bits is stacked during processing or without decoding the signal. The known bits may be or may not be contiguous. The predetermined message data segment may have one or more message data bit sequences each having one or more contiguous known bits. In one embodiment the known bits may be contained in the carrier signal by a biphase modulation. For GPS signals, the predetermined message data may be repeated in each frame, superframe or otherwise. The geolocation of an object may be otherwise suitably determined based on a predetermined message data segment without departing from the scope of the present invention. An object may be any mobile, portable or otherwise moveable or other suitable device, apparatus, system or component thereof.

The method begins at step 1600 where the ranging receiver 14 waits in a low-power standby mode for a trigger to start the process for estimating pseudorange, range or time-of-arrival.

The trigger may comprise a request generated by the wireless device 16 automatically, a request generated by a user of the wireless device 16 such as by pushing a button 30 on the ranging receiver 14, a request from an external source such as the Internet, a geolocation processor 24 or other suitable external source, or any other suitable trigger.

Once the trigger is received, the location circuitry of the ranging receiver 14 is turned on at step 1602. Thus, for example, the power management circuitry 230 may provide full power to each of the components 204, 206, 208, 210, 212, 214, 216, 218, 220 and 222 after receiving the trigger.

The real-time clock 232 keeps track of real time so that the timing of events in the ranging receiver 14 can be accurately tracked. At step 1604, the real-time clock 232 or other component makes an estimate of the clock's potential error, based on the time since it was last synchronized with GPS time and historical information, which may include calibration information, regarding the customary variability of the rate of drift of the clock and its reference local oscillator. The potential error, in the embodiment, determines the magnitude of the clock uncertainty.

At step 1606, the ranging receiver 14 clears any prior signal samples in the signal sample memory 216.

At step 1608, the ranging receiver 14 uses geometric methods along with ephemeris or almanac information for the satellites 12 to determine the most likely in-view satellites 12 in the approximate location of the ranging receiver 14. In one embodiment the method described in the co-owned U.S. Pat. No. 6,515,620 may be used. The number of satellites 12 selected as the most likely in-view satellites will typically be at least four satellites, but may be any suitable number of satellites without departing from the scope of the present invention.

At step 1610, the ranging receiver 14 uses geometric methods along with ephemeris or almanac information for the satellites 12 to determine the approximate propagation times of the signals from the most likely in-view satellites 12 to the ranging receiver 14. In one embodiment the method described in the co-owned U.S. Pat. No. 6,515,620 may be used.

At decisional step 1612, a determination is made regarding the status of a superframe in the ranging receiver 14. In one embodiment the ranging receiver 14, based on information about the clock time and clock error of the ranging receiver real-time clock 232, determines the specific segments of the superframe that should arrive at the ranging receiver 14 from each of the in-view satellites during the time period of the next second. However, the length of such time period may be any suitable length without departing from the scope of the present invention. According to one embodiment, the superframe comprises 25 frames, each of which further comprises five subframes. The superframe comprises 37,500 bits, which are transmitted from the satellites 12 at 50 bits per second. Each of the 25 frames comprises a 1500-bit message that includes timing, identification, and ephemeris data, along with portions of the constellation's almanac data and various telemetry, checksum, and counterwords for each satellite 12.

Each subframe of the GPS satellite message includes 10 words (each a “WORD”); each WORD is comprised of 30 bits, transmitted at a rate of 50 bits per second. Thus, every WORD occupies 0.6 seconds of transmission time; and the subframe, having 300 bits, occupies 6.0 seconds of transmission time.

The first WORD (“WORD1”) of every subframe is the telemetry word and starts with an 8-bit preamble, consisting of a well known, fixed Barker-Code series used for data decoder synchronization. The preamble is followed by 14 telemetry bits. The remainder of WORD1 comprises eight parity-related bits, making the total of 30 bits for WORD1. The 8 preamble bits of WORD1 are fixed and known, and are the same for every subframe.

The second WORD of every subframe (“WORD2”) is known as the “HOW”, because it contains primarily information about the handover word. The handover word comprises the first 17 bits of WORD2 and indicates GPS time in six-second increments. These 17 bits comprise the 17 most significant bits of the 19 least significant bits (the Time-Of-Week word or “TOW”) of the Z-count of the satellites. These 17 bits are followed by two bits of unknown telemetry information, and then three further bits (numbered 20, 21 and 22) that identify the current six-second subframe. The bits numbered 23 and 24 are two more unknown bits that are used in the parity calculations. The WORD2 finishes with six other parity-related bits. These parity bits are computed over the first 22 bits of WORD2 and the last two bits of WORD1, which cannot be determined because of the unpredictability of the telemetry bits. However, the last two parity bits (numbered 29 and 30) will be zero in an error free message. The 17 bits of the handover word and the three bits that identify the subframe can be generated from: (i) a local clock in the receiver keeping GPS time (which is close to Universal Standard Time) to an accuracy of better than six seconds; and (ii) a simple, algorithm that is used to compute the handover word and the subframe identification, based on the time since the most recent Saturday midnight and the number of six second subframe intervals that have occurred during such time. Thus, with its knowledge of the time of day, the receiver knows precisely the first 17 consecutive bits of WORD2, as well as the bits numbered 20, 21 and 22, and the bits numbered 29 and 30, for a total of 22 “known bits” in WORD2.

At step 1614, the ranging receiver 14 selects the segment of the superframe to be used as the predetermined message data segment (the “PMDS”). According to one embodiment, the HOW word, or part of the HOW word, that appears in WORD2 of each subframe of the superframe message data may be selected as the PMDS. The HOW word is suitable for selection as the PMDS because it may be easily predicted by the ranging receiver 14, is transmitted regularly and often (every six second subframe), is transmitted at precisely the same time by all of the satellites 12 and is the same for all the satellites 12. However, it will be understood that any suitable segment of the message data superframe or other part of the message having known bits may be selected without departing from the scope of the present invention. In one embodiment a fixed, or default, PMDS may be used without any specific selection being required in step 1614, and the HOW word may be used as such fixed, or default, PMDS.

For example, if the ranging receiver 14 knows the current time with sufficient accuracy and precision, then the ranging receiver 14 may ascertain that a message data segment that can be precisely predetermined will be contained within the remaining portion of the currently arriving subframe and will be received before the next arrival of a HOW word or the 8-bit preamble of the telemetry word, WORD1. If this is the case, the ranging receiver 14 may select such message data segment as the PMDS in order to reduce the waiting time for the selected PMDS to arrive at the ranging receiver 14 for collection and processing. The ranging receiver 14 may otherwise select a PMDS dynamically and/or based on real-time conditions. The PMDS(s) may be stored or retrieved by the ranging receiver 14.

In one embodiment, the values of certain parameters may be set during this step 1614, or during another suitable step. Examples of such parameters might include: (i) the width of the frequency spectrum within which different CFO compensation values may be selected for each carrier signal; (ii) the length, measured in epochs or bits or any other suitable manner, of the PMDS to be integrated or stacked; (iii) the size of a frequency bin, or the maximum separation of different CFO compensation values for each satellite, which in one embodiment would be a function of the length of the PMDS to be integrated. It will be understood that default values may also be set for such parameters without departing from the scope of the present invention.

At step 1616, the ranging receiver 14 estimates the time of arrival, on the clock of the ranging receiver 14, of the beginning of the PMDS, by calculating the clock time that corresponds to the time at which the ranging receiver 14 receives the epoch that represents the first epoch of the PMDS.

At step 1618, the ranging receiver determines the length of the signal sample to be collected for subsequent processing and the time, on the clock of the ranging receiver 14, at which the ranging receiver 14 will commence the collection of the signal sample. It will be understood that the ranging receiver 14 may select any length of signal sample that is greater than the length of the PMDS without departing from the scope of the present invention. However, the ranging receiver 14 will in one embodiment attempt to select a signal sample length that is long enough to ensure that the PMDS is contained therein, but not so long as to cause an unnecessarily long time to be taken to search for and find the PMDS within the signal sample, or to utilize unnecessarily large amounts of memory to store the signal sample. The shortest possible distance between an in-view satellite 12 and the ranging receiver 14 occurs when the satellite 12 is directly overhead of the location of the ranging receiver 14, and this distance is equal to the height of the orbit of the satellite 12, which is approximately 12,546 nautical miles. The longest possible distance between an in-view satellite 12 and the ranging receiver occurs when the in-view satellite 12 is positioned at the horizon from the view of the ranging receiver 14, and this distance is approximately equal to the sum of the orbital height of the satellite 12 (approximately 12,546 nautical miles) and the radius of the earth (approximately 3,950 nautical miles), for a total of approximately 16,496 nautical miles. And the difference between the shortest and longest distances is approximately equal to the radius of the earth or approximately 3,950 nautical miles. Thus, at the speed of light, the propagation time taken for a signal from the satellite 12 to the ranging receiver 14 may be between approximately 67.5 and 89.0 milliseconds, a difference of approximately 22 milliseconds, and this difference of 22 milliseconds may represent the maximum uncertainty in the propagation time for the signal from an in-view satellite 12 to a ranging receiver 14. The length of the signal sample will, in one embodiment, be equal or substantially equal to the sum of: (i) the length of the PMDS; (ii) two times the propagation time uncertainty of approximately 22 milliseconds for the transmission of the signal from the satellite to the receiver; and (iii) two times the uncertainty of the timing information provided by the clock of the ranging receiver 14. However, since the HOW word is repeated every six seconds in every subframe, it is unlikely that the signal sample would ever be permitted to exceed a set fraction of the subframe length of six seconds. In accordance with one embodiment of the present invention, the time, on the clock of the ranging receiver 14, at which the ranging receiver 14 will commence the collection of the signal sample will be determined such that center of the selected PMDS will be calculated to be at the center point of the signal sample. However, any other suitable timing to commence the collection of the signal sample may be selected without departing from the scope of the present invention.

At step 1620, the ranging receiver 14 collects signal samples for the estimation of pseudorange, range or time-of-arrival from the signals received from the satellites 12.

At step 1622, the CFO compensation to be applied to the received signal is determined. The CFO compensation to be applied to the received signal samples may be determined by several different methods. According to one embodiment, the CFO compensation term may be determined by direct CFO extraction from the signals received from the satellites 12, as described in more detail above in connection with FIGS. 6A and 6B. According to another embodiment, the CFO compensation term may be determined by geometric methods as previously described and as set forth in FIGS. 4 and 5. When using geometric methods to determine the CFO compensation term, the CFO is calculated based on the approximate or estimated values of certain geometric data, such as approximate location data. The amount of error in such approximate values, will result in potential error or uncertainty in the estimated value calculated for the CFO. In general, the uncertainty of a parameter means the range of values for such parameter that comprises all or substantially all of the likely potential errors in the estimation or determination of that parameter. With respect to the CFO compensation term in particular, the frequency search space, or the CFO bandwidth of uncertainty, as referred to herein, is determined by the uncertainty of the estimated value of the CFO compensation term. According to yet another embodiment, a combination of the foregoing methods of determining the CFO compensation term may be used. However, it is understood that any suitable method, or combination of methods, of determining the CFO compensation term may be used without departing from the scope of the present invention.

In situations where direct CFO extraction identifies at least one but less than four satellite CFOs, it is possible that the signal strength at the ranging receiver of one or more of the other in-view satellites may be significantly less than the signal strength at the ranging receiver of the satellites identified by direct CFO extraction, and the strength of the correlation peaks obtained from the signal samples may be similar to the strength of cross-correlation peaks at certain CFO values resulting from the correlation of signals from satellites identified by direct extraction with the Gold codes of other satellites. The CFO values or “cross-correlation frequencies” at which such cross-correlation peaks may occur may be mathematically predicted. At step 1624, the cross-correlation frequencies may be determined by known methods; and such methods either eliminate such CFO values from its analysis or causes the “false” correlations that may be produced at such frequencies to be ignored.

At step 1626, the ranging receiver 14 begins to process the samples by compensating the samples for the CFOs. It will be understood that, in other embodiments, the CFO correction may be performed at different stages of the method without departing from the scope of the present invention. In another embodiment, using the method described above in connection with FIG. 8A and steps 800 through 838, the ranging receiver 14 may form substacks from the received signal and may compensate the samples for the CFOs as described in steps 812 through 824. It will be understood: (i) that if such substacks are formed, with a number of epochs, P, per substack, then a result of the substack formation is the creation of a one-epoch wide linear sum; and (ii) that, in subsequent steps described herein, references to epochs may also apply to the one epoch wide linear sums formed by such substacks.

At step 1628, the ranging receiver 14 determines the epoch (or the one-epoch long substack, as the case may be) of the received signal sample that is most likely to correspond to the first epoch of the PMDS for each of the satellites 12 and selects the segment of the received signal sample that follows the estimated first epoch and is equal in length to the length of the PMDS. In one embodiment this most likely epoch is the epoch which is determined on the assumption that the clock error in the range receiver real-time clock 232 is zero and the error in the estimated propagation times of the signals from the satellites 12 to the ranging receiver 14 are also zero. However, the ranging receiver 14 may use other methods or criteria to determine the most likely or first such epoch to test, without departing from the scope of the present invention.

At step 1630, the ranging receiver 14 multiplies out the biphase message data modulation in the selected segment of the received signal sample by aligning the selected segment of the received signal sample with the replica of the PMDS held by the ranging receiver 14 and multiplying each signal sample value of the selected segment of the received signal sample by the modulation sign of the corresponding epoch of the replica of the PMDS held by the ranging receiver 14 or by any other appropriate method. If the PMDS includes or emcompasses any bits for which the modulation is not predetermined, the multiplication factor corresponding to such bits, or the modulation sign of the corresponding epochs of the replica of the PMDS, is set to zero. When the epoch selected in step 1628 corresponds to the first epoch of the PMDS for a given satellite 12, then this multiplication process removes the message data modulation from the selected segment of the received signal sample. When the epoch selected in step 1628 is separated by no more than one or two epochs from the first epoch of the PMDS for such satellite 12, then this multiplication process removes substantially all of the message data modulation from the selected segment of the received signal sample.

At step 1632, the ranging receiver 14 linearly combines, or stacks, the samples comprising the modulation-adjusted selected signal sample segment into a single epoch duration result for each satellite 12. However, this and other steps may be omitted without detracting from the scope of the present invention At step 1634, the ranging receiver 14 correlates the Gold codes for the satellites 12. According to one embodiment, the ranging receiver 14 correlates the Gold codes by Fourier transform. For this embodiment, the Fourier transform of each CFO-compensated stack of samples is multiplied by the Fourier transform of the time-reversed series of the Gold code for a satellite 12 (sampled at the same rate as the pseudorange samples and stored in memory 216 or 220). However, it is understood that any suitable method of correlation may be employed without departing from the scope of the present invention. The product may then be compensated for time-dilation by complex vector multiplication in the frequency domain before it is inverse-Fourier transformed to yield the time-dilation compensated pseudorange time sequence, or the product may be inverse-Fourier transformed to yield the un-compensated pseudorange time sequence, which is compensated for time dilation by element-shifting, as described in FIG. 13C, at step 1636. However, it is understood that any suitable method of compensation for time dilation may be employed without departing from the scope of the present invention. However, it is understood that this step 1636 may be omitted without detracting from the scope of the present invention.

At decisional step 1638, a determination is made regarding whether a correlation peak exists in any of the pseudorange time sequences that is sufficiently above a noise-background threshold such that it may be distinguished, in a statistically significant way, from the background noise. According to one embodiment, a correlation peak is sufficiently above the noise-background threshold when the correlation peak is at least 6 dB above the noise-background threshold. However, it will be understood that a correlation peak may be sufficiently above the noise-background threshold when the correlation peak is any suitable level above the noise-background threshold. If such a peak does not exist for any of the pseudorange time sequences, the method follows the No branch from decisional step 1638 to decisional step 1640.

At decisional step 1640 a determination is made regarding whether all of the alternative selections for the first epoch of the PMDS in step 1628 have been selected and tested or whether more alternatives for the first epoch of the PMDS in step 1628 remain to be selected and tested. In one embodiment, all alternatives have been tested when every epoch or set of epochs has been tested. A set of epochs may comprise a substack group. If no more alternative selections for the first epoch remain to be selected and tested, this indicates either that the signals from the satellite at the ranging receiver 14 are too weak to be used or that different CFO compensation terms need to be tested and the method follows the No branch from decisional step 1640 to decisional step 1642.

At decisional step 1642 a determination is made whether different CFO compensation terms, or alternative CFO's in step 1622 need to be tested. If different CFO compensation terms need to be tested, the method follows the Yes branch from decisional step 1640 and returns to step 1622 and the ranging receiver 14 selects new CFO compensation terms. In one embodiment, the newly selected CFO compensation term is chosen to be the term that, among those terms that have not yet been selected, is closest to the first term that was selected and is separated, by the size of a frequency bin, from a term that has previously been selected, and lies within the permitted frequency search space. However, other suitable methods of selecting a new CFO compensation term may be used without detracting from the scope of the present invention. If at decisional step 1642 it is determined that different CFO compensation terms do not need to be tested, this indicates that the signals from the satellite at the ranging receiver 14 are too weak to be used. In this situation, the method follows the No branch from decisional step 1642 to step 1644. At step 1644, the ranging receiver 14 sets a flag to indicate that the signal is too weak and returns to step 1600 where the ranging receiver 14 reverts to the low-power standby condition and waits for another trigger. In one embodiment, the ranging receiver 14 may repeat the process one or more times with new signal samples before setting a flag to indicate that the signal is too weak and returning to step 1600; and in repeating the process in this manner it may utilize any information obtained during the processing of any previous samples. For example, satellite, pseudorange range, range, clock time or other information from a failed or other attempt may be used in a later process.

Returning to decisional step 1640, if more alternative selections for the first epoch of the PMDS in step 1628 remain to be selected and tested, the method follows the Yes branch from decisional step 1640 to step 1628 and selects an alternative selection for the first epoch of the PMDS. In one embodiment, the newly selected first epoch is chosen to be the epoch that, among those epochs that have not yet been selected, is closest to the first epoch that was selected and is adjacent to an epoch that has previously been selected.

Returning to decisional step 1638, if a correlation peak exists in any of the pseudorange time sequences that is sufficiently above a noise-background threshold, the method follows the Yes branch from decisional step 1638 to step 1646.

At step 1646, a multi-path correcting centroid calculation is applied to determine a substantially exact location of the center of each of the peaks based on techniques that compensate for the distortion of each peak's shape by the presence of multi-path signals occurring near the correlation peak. However, it will be understood that other methods may also be used to compensate for the distortions caused by multi-path signals without departing from the scope of the present invention.

At step 1648 the ranging receiver clock time that corresponds to the time of arrival at the ranging receiver 14 of the epoch selected as the first epoch of PMDS in the received signal sample that resulted in obtaining a pseudorange peak in step 1638 is recorded as the time-of-arrival (TOA) of the PMDS at the ranging receiver for the specified satellite 12. This TOA comprises the actual clock time of the ranging receiver 14 at which the PMDS, with a precisely known time of transmission from the satellite 12, was received at the ranging receiver 14 and is comprised of a specified millisecond of the clock of the ranging receiver 14 and the fraction of the next millisecond, corresponding to the pseudorange value. The difference between this TOA and the precisely known GPS time of the transmission of the PMDS by the satellite 12 is equal to the propagation time of the signal form the satellite to the ranging receiver 14, and corresponds to the range between the satellite 12 and the ranging receiver 14. This measurement of the TOA, or the propagation time or the range contains an error equal to the error in the clock of the ranging receiver. However when the difference between such values, known as the time difference of arrival (TDOA) in the case of the TOA, is determined for any pair of satellites, this error is precisely and completely eliminated. Thus, the TDOA values for the in-view satellites 12 may be used, along with conventional TDOA techniques and algorithms, such as hyperbolic multilateration algorithms, to determine the geolocation of the ranging receiver 14.

At decisional step 1650, a determination is made concerning whether the correlation peak identified in step 1638 is the first such correlation peak to be identified by the ranging receiver 14. If the correlation peak is the first such correlation peak to be identified by the ranging receiver 14, the method follows the Yes branch to step 1652.

At step 1652, the ranging receiver 14 may make adjustments and corrections to certain types of calibration information held by the ranging receiver 14, for the purpose of reducing the required processing time to obtain pseudorange, range or time-of-arrival information for the remaining selected in-view satellites 12. The calibration information or file may be stored in the ranging receiver 14. In one embodiment the ranging receiver 14 may reset its clock such that the receiver clock time at the beginning of the signal sample segment that produced the correlation peak is equal to the known GPS time of the PMDS plus the estimated propagation time of the signal from the satellite to the ranging receiver 14; and the clock of the ranging receiver 14 would then be accurate to within the approximately 22 milliseconds range of uncertainty of the propagation time for the propagation of the signal from the satellite 12 to the ranging receiver 14. The ranging receiver 14 would then amend the formula used in step 1614 to determine the size of the signal sample segment to be collected and may now clear from its memory any part of the signal sample that was originally collected in step 1620 and is no longer required. This would reduce the size of the signal sample to be processed from the size described in step 1618 to the sum of: (i) the length of the PMDS; plus (ii) two times the approximately 22 milliseconds of propagation time uncertainty for the propagation of the signal from the satellite to the receiver. This would reduce the number of possible alternative selections for the first epoch of the PMDS in step 1628 for all of the selected in-view satellites 12 after obtaining the pseudorange, range or time-of-arrival information for the first of the selected in-view satellites 12.

At step 1654, the ranging receiver 14 records the CFO value that resulted in obtaining the correlation peak and determines the estimated Doppler shift for the same satellite 12 using geometric methods as described in step 1608. The ranging receiver then determines the difference between the two foregoing values and uses the resulting value as the value at which to reset the receiver frequency bias. The ranging receiver then uses this updated receiver frequency bias to recalculate and amend the CFO of each of the remaining in-view satellites for which the CFO was originally determined, in step 1622, by geometric methods. The method then returns to step 1638 to obtain correlation peak values for additional in-view satellites.

Returning to decisional step 1650, if the correlation peak identified in step 1638 is not the first such correlation peak to be identified by the ranging receiver 14, the method follows the No branch from decisional step 1648 to step 1656. However, in an alternative embodiment, the method may follow the Yes branch from decisional step 1648 to step 1652 and make further refinements to the adjustments previously made in steps 1652 and 1654. For example, clock synchronization and frequency search space may be further refined.

At decisional step 1656, a determination is made concerning whether the pseudorange, range or time-of-arrival information has been obtained from pseudorange peaks identified for at least a specified minimum number of satellites. According to one embodiment, the minimum number is four. However, it will be understood that the specified minimum number may comprise any suitable number. If the specified minimum number has not been found, the method follows the No branch from decisional step 1656 and returns to step 1622. However, if the specified minimum number has been found, the method follows the Yes branch from decisional step 1656 to step 1658.

At step 1658, the ranging receiver 14 sends or otherwise provides ranging data or information for each of the carriers detected from the constellation of satellites 12 to the geolocation processor 24 for calculation of the geolocation of the ranging receiver 14. Information may be provided at any or multiple points of the process by supplying, storing, sending, holding or otherwise making it available. According to one embodiment, the ranging data comprises the estimate of the TOA, the GPS time of transmission of the PMDS, the satellite ID for each satellite 12 and/or any other suitable data.

At step 1660, the ranging receiver 14 or other requesting application receives the geolocation of the ranging receiver 14 from the geolocation processor 24, after which the method returns to step. 1600 where the ranging receiver 14 reverts to the low-power standby condition and waits for another trigger. According to another embodiment, all of the calculations of geolocation are performed in the ranging receiver 14. The ranging receiver 14 then may then send the geolocation of the ranging receiver 14 to the geolocation processor or other requesting application.

In the present embodiment, when, in step 1640, the method returns to step 1628 to select an alternative selected first epoch of the selected signal sample segment, the method then repeats the process of assembling, demodulating and integrating the selected signal sample segment in steps 1630 and 1632 before performing the correlation in step 1634. It will be understood that the results of the prior performance of such steps 1628 through 1632 may be stored and utilized in subsequent repetitions of such steps, without departing from the scope of the present invention.

An objective of this process, in one embodiment, is to repeat the correlation step for the same sized group of epochs from the signal sample set, but with the beginning epoch displaced from the previously assembled group by a specified number of epochs (equal to the number of epochs per substack), which we may refer to as the step size. Significant processing time may be saved because it is not necessary to repeat the original task of forming the stack from scratch. Instead, it is possible to make adjustments to the previously formed stack to achieve the same result. The new stack formation begins with the frequency-corrected and sign-adjusted and substacked (if applicable) epochs from the previously formed stack sum. For example, in determining a new integration sum in step 1632, an alternative embodiment may modify a previous result of this step 1632 by adding or subtracting the values for only those components of the new integration sum for which the modulation sign has changed and by adding or subtracting the values relating to epochs or substacks of epochs that are added to or removed from, respectively, the previous integration stack, without departing from the scope of the present invention. For example, in the simplest case when the step size is equal to one epoch, the method: (i) removes the first epoch from the stack sum; (ii) adjusts the sign of every 19^(th) and 20^(th) epoch of the remaining epochs in accordance with the polarity sequence of the known bits of the PMDS; and (iii) frequency corrects the epoch of the selected signal sample that follows the last epoch represented in the previous stack sum and adds the frequency-corrected epoch to the stack sum with the appropriate sign change, if required. This completes the formation of the next frequency-corrected, sign-adjusted stack sum, which may then be correlated with the Gold code of the specified satellite. The same types of tasks may be applied when successive stacks are shifted by a step size of more than one epoch; and it will be understood that the method is intended to be applicable to a step size equal to any number of epochs without departing from the scope of the present invention.

According to the illustrated embodiment, the CFO compensation process of step 1626 is implemented by compensating the signal samples by the appropriate frequency offset, and satellite Doppler-rate change. In an alternative embodiment the reference replica of the Gold code being correlated may be compensated by the same amount. Since the Gold code replica is smaller than the signal samples, it may be more computationally efficient to compensate the replica, than to compensate the signal samples.

It will be understood that the CFO correction step in step 1626, which in the current embodiment is performed on each signal sample subsequent to the process of sample collection in step 1620, may, in different embodiments of the present invention be performed on the signal samples at later stages in the method, without departing from the scope of the present invention, and that one of the purposes of doing so is for the purpose of minimizing the complexity of the computational process and reducing the processing time, or improving the overall operating efficiency and performance of the method in selected circumstances. For example, the later stages of the method, where such CFO correction may, in different embodiments, be performed, may be after each epoch, or after the formation of each substack and the integration of the substack into a single-epoch linear sum, or after the demodulation and integration of the selected signal sample segment in steps 1630 and 1632, without departing from the scope of the present invention.

A reason for the formation of substacks, as set forth in step 1626, is to reduce the computational complexity and processing time. However, some loss of processing gain may occur when the value of P, the number of epochs per substack, as described in FIG. 8A and step 1626, is set at a value that is greater than one.

When the correlation peak is obtained for the first satellite and the information obtained from the first satellite is used to reduce the size of the signal sample segment in step 1618, the uncertainty in the propagation time for other satellites may be reduced to less than the 22 milliseconds referred to above, by comparing the orbital information for the first satellite, contained within the almanac and ephemeris files in the ranging receiver, with the orbital information of other in-view satellites and applying geometric analytical techniques.

Although the present invention has been described with several embodiments, various changes and modifications may be suggested to one skilled in the art. It is intended that the present invention encompass such changes and modifications as fall within the scope of the appended claims. For example, although the steps set forth herein have been described as being performed in a certain order, it will be understood that many of such steps may be performed in a different order, without departing from the scope of the invention. In addition, although certain functions are described herein as being performed by the ranging receiver 14 or other device, it will be understood that many of such functions may also be performed by other components without departing from the scope of the invention. 

1. A method for processing positioning signals in a ranging receiver using predetermined message data bit sequences, comprising: collecting signal samples from positioning signals received at the ranging receiver from a plurality of transmitters, the signal samples comprising message data modulation, each transmitter having an associated identification code; selecting a pre-determined carrier frequency offset (CFO) from a plurality of CFOs; designating an epoch of a signal sample as a first epoch of a predetermined message data segment, contained within the sample; compensating the signal sample for the selected CFO; removing the message data modulation from the signal sample; determining whether an adequate correlation peak exists for the designated epoch; and when an adequate correlation peak exists, determining a time-of-arrival for the predetermined message data segment at the ranging receiver based on the adequate correlation peak.
 2. The method of claim 1, wherein the transmitters comprise global positioning system (GPS) satellites and the identification code comprises a Gold code.
 3. The method of claim 1, removing the message data modulation from the signal sample comprising multiplying out message data modulation.
 4. The method of claim 1, further comprising stacking the signal samples for each transmitter by stacking the signal samples into an integration sum.
 5. The method of claim 1, further comprising correlating the identification code associated with each transmitter by Fourier transform means.
 6. The method of claim 5, correlating the identification code associated with each transmitter further comprising: Fourier transforming the stacked signal samples to generate a first result; Fourier transforming a time-reversed series of the identification code for the transmitter to generate a second result; multiplying the first result by the second result to generate a third result; and inverse-Fourier transforming the third result to generate the time sequence for the transmitter.
 7. The method of claim 1, an adequate correlation peak comprising a correlation peak significantly above a noise-background threshold.
 8. The method of claim 7, an adequate correlation peak comprising a correlation peak at least 6 dB above the noise-background threshold.
 9. The method of claim 1, the plurality of CFOs being determined by at least one of: direct CFO extraction, and geometric data subject to a CFO bandwidth of uncertainty determined by the uncertainty of the geometric data.
 10. The method of claim 9, the geometric data comprising: one of ephemeris and almanac data held by the ranging receiver, a clock time, and approximate location data for the ranging receiver.
 11. The method of claim 9, the CFO search bandwidth based on the uncertainty of: the approximate location of the ranging receiver, the age of the ephemeris and almanac data, the ranging receiver clock uncertainty, and the ranging receiver local oscillator frequency uncertainty.
 12. The method of claim 1, further comprising selecting a length of the signal sample based on at least one of: a propagation time uncertainty for the propagation of the signal from the transmitter to the ranging receiver, the ranging receiver clock uncertainty, and the length of the predetermined message data segment.
 13. The method of claim 1, further comprising selecting a specific time to commence collecting the signal samples based on the ranging receiver clock time, the propagation time uncertainty, the ranging receiver clock uncertainty, and the time of transmission of the predetermined message data segment.
 14. The methods of claim 12 or 13, the clock uncertainty based on the time since the most recent synchronization of the clock, and historical information concerning the rate of drift and the variance of the rate of drift of the ranging receiver clock.
 15. The methods of claim 12 or 13, the propagation time uncertainty comprising the difference between the maximum and minimum propagation times for the signal from the transmitter to the ranging receiver.
 16. The method of claim 1, further comprising determining whether alternatives for the designation of the first epoch of the predetermined message data segment have been selected and tested when an adequate correlation peak does not exist in at least a defined number of time sequences.
 17. The method of claim 16, the alternatives for the designation of the first epoch of the predetermined message data segment based on the propagation time uncertainty and the ranging receiver clock uncertainty.
 18. The method of claim 16 further comprising selecting an alternative designation of the first epoch of the predetermined message data segment when at least one alternative designation of the first epoch of the predetermined message data segment has not been selected and tested.
 19. The method of claim 16 further comprising determining whether alternative CFO values have been selected and tested when an adequate correlation peak does not exist in at least the defined number of time sequences.
 20. The method of claim 19, wherein the alternative CFO values are based on search bandwidth and a frequency bin size.
 21. The method of claim 19, further comprising selecting an alternative set of CFO values when at least one alternative CFO value has not been selected and tested.
 22. The method of claim 19, further comprising providing a weak signal indicator when all of the alternative CFO values have been selected and tested.
 23. The method of claim 1, wherein the predetermined message data segment comprises one or more data bit message sequences.
 24. The method of claim 23, each message data bit sequence having a known bi-phase modulation, a known length and a known time of transmission at the transmitter.
 25. The method of claim 24, further comprising selecting the predetermined message data segment from a plurality of predetermined message data segments based on real-time conditions of the ranging receiver. 